)]}'
{
  "commit": "bc346fbc4be780174df61f86190c431dd57b4c33",
  "tree": "7cb1cdcf4b5fb1bd3f06835614f6b68130403d04",
  "parents": [
    "84f4b555bf1c8b8dee062e4a31c5f0037d9fc3c4"
  ],
  "author": {
    "name": "bazel.build machine account",
    "email": "ci.bazel@gmail.com",
    "time": "Tue May 28 17:11:04 2024 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue May 28 21:11:04 2024 +0000"
  },
  "message": "[7.2.0] Add layering_check support for macOS (#22572)\n\nThere were 2 things with the previous implementation that needed to be\nimproved here:\n\n1. Apple Clang has a bug where it doesn\u0027t pass module compiler flags to\nthe underlying -cc1 invocation, so we have to manually pass them\ndirectly to that invocation with -Xclang\n2. The previous search script was too aggressive and slow for macOS. The\nmacOS SDK has tons of files that aren\u0027t headers, and tons of symlinks\npointing to other files within the SDK. This adds a fork in the script\nto run a version that works with Apple SDKs. The time difference on my\nmachine is 41s-\u003e6s. 6s is still pretty long so if desired we can put\nthis behavior behind an env var for users to opt in with.\n\nI\u0027ve added a hermetic version of this to the apple_support toolchain,\nbut similar to the Linux setup here the modulemap file includes absolute\npaths.\n\nCloses #22259.\n\nThis reverts commit 1f1b4fd37bacf5fc90bd06403b63dbb54e84db3b.\n\nCloses #22475.\n\nPiperOrigin-RevId: 637969838\nChange-Id: I7d4940a820e3741836239493222ba8d06c4d70e4\n\nCommit\nhttps://github.com/bazelbuild/bazel/commit/6abdd2a882e31095fdd4eb557f755040188562a9\n\nCo-authored-by: Keith Smiley \u003ckeithbsmiley@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "78e9995cea73e803ec0ec2dc0554c4ac85eeedf4",
      "old_mode": 33188,
      "old_path": ".bazelci/presubmit.yml",
      "new_id": "cd43f97fd2957c283b8be7b448a5635bde6e41ad",
      "new_mode": 33188,
      "new_path": ".bazelci/presubmit.yml"
    },
    {
      "type": "modify",
      "old_id": "514c7af938b3e0150bfe5a843035ad103be12ada",
      "old_mode": 33188,
      "old_path": "MODULE.bazel",
      "new_id": "5336c3654f50b71d1cbe6a40f252a96bc4e5b121",
      "new_mode": 33188,
      "new_path": "MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "26fec2a26da3999ebbc71d866d8a78720bcfb431",
      "old_mode": 33188,
      "old_path": "MODULE.bazel.lock",
      "new_id": "b4c5a3104ab40208468c4df6099db8194321db20",
      "new_mode": 33188,
      "new_path": "MODULE.bazel.lock"
    },
    {
      "type": "modify",
      "old_id": "45154937837efe8f10a56a13d75e12752dfdd603",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/bazel_layering_check_test.sh",
      "new_id": "341f821f6a8f18cced0ff007edb73e56cab63335",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/bazel_layering_check_test.sh"
    },
    {
      "type": "modify",
      "old_id": "abbaec2e8823283e6cff080b96abb6b3d3af31c9",
      "old_mode": 33261,
      "old_path": "tools/cpp/generate_system_module_map.sh",
      "new_id": "deb52c2f6b65481fab86608d527961ad954a8229",
      "new_mode": 33261,
      "new_path": "tools/cpp/generate_system_module_map.sh"
    },
    {
      "type": "modify",
      "old_id": "d123a3d1aaa099a0fc7d6c286f91c0a6b1867db4",
      "old_mode": 33188,
      "old_path": "tools/cpp/unix_cc_configure.bzl",
      "new_id": "2184487c4a6bfbc4cf749e942087cc7ea719ac33",
      "new_mode": 33188,
      "new_path": "tools/cpp/unix_cc_configure.bzl"
    },
    {
      "type": "modify",
      "old_id": "b186d5a3bd1315fa5e1168a4e1b4b4bf274218f7",
      "old_mode": 33188,
      "old_path": "tools/cpp/unix_cc_toolchain_config.bzl",
      "new_id": "1b1b02151c466b2fccb9954cf7b5255a18e386c3",
      "new_mode": 33188,
      "new_path": "tools/cpp/unix_cc_toolchain_config.bzl"
    }
  ]
}
