[7.4.0] Add path mapping support for C++ compile action templates (#23349)
C++ action templates are now properly path mapped. Since the default Unix toolchain doesn't support object file groups on macOS, `apple_support` is needed in the test. This requires wiring up `LocalEnvProvider` in the remote worker to get `DEVELOPER_DIR` to be set, which in turn requires improving the runfiles handling for the the worker. Work towards #6526 Closes #22890. PiperOrigin-RevId: 657733074 Change-Id: I132e338d7a44964a8a1aad3062a5c9a4c8e79e57 Commit https://github.com/bazelbuild/bazel/commit/23f3be03262c89e7c2d18a110c187ee5c760af31 Co-authored-by:Googler <ilist@google.com>
Showing
- src/main/java/com/google/devtools/build/lib/rules/cpp/CcToolchainVariables.java 7 additions, 0 deletions...le/devtools/build/lib/rules/cpp/CcToolchainVariables.java
- src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionTemplate.java 10 additions, 14 deletions...evtools/build/lib/rules/cpp/CppCompileActionTemplate.java
- src/test/java/com/google/devtools/build/lib/remote/util/IntegrationTestUtils.java 7 additions, 1 deletion.../devtools/build/lib/remote/util/IntegrationTestUtils.java
- src/test/py/bazel/test_base.py 2 additions, 8 deletionssrc/test/py/bazel/test_base.py
- src/test/shell/bazel/BUILD 4 additions, 1 deletionsrc/test/shell/bazel/BUILD
- src/test/shell/bazel/path_mapping_test.sh 49 additions, 3 deletionssrc/test/shell/bazel/path_mapping_test.sh
- src/tools/remote/src/main/java/com/google/devtools/build/remote/worker/BUILD 13 additions, 1 deletion...c/main/java/com/google/devtools/build/remote/worker/BUILD
- src/tools/remote/src/main/java/com/google/devtools/build/remote/worker/ExecutionServer.java 25 additions, 3 deletions.../google/devtools/build/remote/worker/ExecutionServer.java
- tools/java/runfiles/BUILD 1 addition, 0 deletionstools/java/runfiles/BUILD
Please register or sign in to comment