Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(bazel): enable runfiles (#46313)
Patches are required for tsec and rules_webtesting. The fix for rules_webtesting was merged to that repo (bazelbuild/rules_webtesting@581b155) but it's unclear when a release will be cut. PR Close #46313
- Loading branch information
1 parent
714183d
commit 2c8fd2b
Showing
12 changed files
with
400 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
tools/bazel-repo-patches/rules_webtesting__windows_runfiles_fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/web/internal/windows_utils.bzl b/web/internal/windows_utils.bzl | ||
index 4bec20e..cada638 100644 | ||
--- a/web/internal/windows_utils.bzl | ||
+++ b/web/internal/windows_utils.bzl | ||
@@ -35,6 +35,9 @@ if "%RUNFILES_MANIFEST_ONLY%" neq "1" ( | ||
set %~2=%~1 | ||
exit /b 0 | ||
) | ||
+if exist "%RUNFILES_DIR%" ( | ||
+ set RUNFILES_MANIFEST_FILE=%RUNFILES_DIR%_manifest | ||
+) | ||
if "%RUNFILES_MANIFEST_FILE%" equ "" ( | ||
set RUNFILES_MANIFEST_FILE=%~f0.runfiles\MANIFEST | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.