Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dependency_file_feature on macos features
This patch add `dependency_file_feature` to features when OS is macos. the feature `dependency_file_feature` added by default through `CppActionConfigs.java getLegacyFeatures` https://github.com/bazelbuild/bazel/blob/0dbfaccaf5bee5ea7f11c01db1fc0cd1ca7f3810/src/main/java/com/google/devtools/build/lib/rules/cpp/CppActionConfigs.java#L93-L117 ## Background I modified `tools/cpp/unix_cc_toolchain_config.bzl` and found `dependency_file` not work on MacOS when testing #19940 with new action name `c++20-deps-scanning` and `c++20-module-compile`. After adding `dependency_file_feature` to features, it works. cc @comius Closes #22717. PiperOrigin-RevId: 643345857 Change-Id: I50210592edd1082e2328c7e4ab68bd0c76087aaa
- Loading branch information