)]}'
{
  "commit": "48d6db7602819e66cfddffa510aef86351e45044",
  "tree": "18aade9ccfb044704a3d474bc4c82c3bc7a1f509",
  "parents": [
    "178308eeb67d92d7387ad114177aed659e75c781"
  ],
  "author": {
    "name": "trybka",
    "email": "trybka@google.com",
    "time": "Fri Oct 23 22:27:25 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Oct 23 22:28:31 2026 -0700"
  },
  "message": "Restrict private builtins cc_common APIs to rules_cc.\n\nThe builtins `cc_common` wrappers for private APIs (`check_experimental_cc_shared_library`, `incompatible_disable_objc_library_transition`, `add_go_exec_groups_to_binary_rules`, `get_tool_requirement_for_action`, `implementation_deps_allowed_by_allowlist`, `register_swig_action`) were gated by `PRIVATE_STARLARKIFICATION_ALLOWLIST`, a broad list covering Android, Apple, Go, Java, protobuf, Rust, Python, and other rule sets. In practice the only remaining callers are in rules_cc, which reaches the native `cc_common` through rules_impl/native_cc_common.bzl and enforces its own allowlist in cc/private/visibility.bzl.\n\nRemove `PRIVATE_STARLARKIFICATION_ALLOWLIST` from cc_helper_internal.bzl and gate these APIs in both the Blaze (cc_common.bzl) and Bazel (cc_common_bazel.bzl) flavors with a rules_cc-only list, shared with `internal_DO_NOT_USE`.\n\nPiperOrigin-RevId: 1006104177\nChange-Id: I1761503297722b2a51d87a2b6cd526f90b6a1dad\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f856f0987c98007f44770e94912823797f62c073",
      "old_mode": 33188,
      "old_path": "src/main/starlark/builtins_bzl/common/cc/cc_common.bzl",
      "new_id": "95974ee843d1d1d1a7939d34a6e96029346f59cb",
      "new_mode": 33188,
      "new_path": "src/main/starlark/builtins_bzl/common/cc/cc_common.bzl"
    },
    {
      "type": "modify",
      "old_id": "1e69c34a00c61df5fb662e77f955f4225fe1bd50",
      "old_mode": 33188,
      "old_path": "src/main/starlark/builtins_bzl/common/cc/cc_common_bazel.bzl",
      "new_id": "29014dd2c8a2fec24faa068d3020dcb803bbf98b",
      "new_mode": 33188,
      "new_path": "src/main/starlark/builtins_bzl/common/cc/cc_common_bazel.bzl"
    },
    {
      "type": "modify",
      "old_id": "5bef00a3370d1acde9110860b21ec784d2b34fa3",
      "old_mode": 33188,
      "old_path": "src/main/starlark/builtins_bzl/common/cc/cc_helper_internal.bzl",
      "new_id": "b68c03f2279869606895e128309f21b279e93e31",
      "new_mode": 33188,
      "new_path": "src/main/starlark/builtins_bzl/common/cc/cc_helper_internal.bzl"
    }
  ]
}
