Automated rollback of commit 0a658930.
*** Reason for rollback *** Broke Bazel postsubmit: https://buildkite.com/bazel/bazel-bazel/builds/28021#018f9a8b-8711-4f02-af8a-c29a1e7c6255 https://github.com/bazelbuild/bazel/pull/22259#issuecomment-2122897663 *** Original change description *** Add layering_check support for macOS There were 2 things with the previous implementation that needed to be improved here: 1. Apple Clang has a bug where it doesn't pass module compiler flags to the underlying -cc1 invocation, so we have to manually pass them directly to that invocation with -Xclang 2. The previous search script was too aggressive and slow for macOS. The macOS SDK has tons of files that aren't headers, and tons of symlin... *** RELNOTES: PiperOrigin-RevId: 635852793 Change-Id: I03b0831706a555bbcf141742aefa3bf48ed0caf3
Showing
- src/test/shell/bazel/bazel_layering_check_test.sh 5 additions, 0 deletionssrc/test/shell/bazel/bazel_layering_check_test.sh
- tools/cpp/generate_system_module_map.sh 5 additions, 14 deletionstools/cpp/generate_system_module_map.sh
- tools/cpp/unix_cc_configure.bzl 1 addition, 1 deletiontools/cpp/unix_cc_configure.bzl
- tools/cpp/unix_cc_toolchain_config.bzl 5 additions, 7 deletionstools/cpp/unix_cc_toolchain_config.bzl