)]}'
{
  "commit": "fad3ad373c833a69d6a6b8d97c5ee53027ff111f",
  "tree": "52d585eead9a0da1516cef9bc9056cb221492d50",
  "parents": [
    "593d6fc644f925da7651590a250bb94d4d91808a"
  ],
  "author": {
    "name": "David Zbarsky",
    "email": "dzbarsky@gmail.com",
    "time": "Thu Jul 02 10:58:37 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Jul 02 10:58:59 2026 -0700"
  },
  "message": "Starlarkify compute_output_name_prefix_dir\n\nCopybara Import from https://github.com/bazelbuild/rules_cc/pull/761\n\nBEGIN_PUBLIC\nStarlarkify compute_output_name_prefix_dir (#761)\n\n## Summary\n\nReplace both `_cc_internal.compute_output_name_prefix_dir` calls with a private Starlark helper. The helper returns `non_arc` for purposes ending in `_non_objc_arc`, `arc` for purposes ending in `_objc_arc`, and an empty prefix otherwise.\n\n`compile()` normalizes an unset purpose to an empty string before these calls, so the native helper\u0027s configuration-mnemonic fallback was not reachable from either rules_cc caller.\n\nConfigured-target coverage verifies that Objective-C ARC and non-ARC sources retain separate output directories.\n\nCloses #761\nEND_PUBLIC\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/761 from dzbarsky:codex/starlarkify-compute-output-name-prefix-dir d06f9d3aa88686a078b8c864cc7afc87ec4b8083\nPiperOrigin-RevId: 941761713\nChange-Id: I3398d919cf7e4b287813de168b4b80f8373f0d6e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d7272e1d2f34df459bc35395df00a49d6c45c849",
      "old_mode": 33188,
      "old_path": "cc/private/compile/compile.bzl",
      "new_id": "a387b97c9fce7d803191b28dfe7d531ba8a31b63",
      "new_mode": 33188,
      "new_path": "cc/private/compile/compile.bzl"
    },
    {
      "type": "modify",
      "old_id": "98127f9fe55d97d840615e44d3247f3fc2930b29",
      "old_mode": 33188,
      "old_path": "tests/cc/common/cc_objc_library_configured_target_tests.bzl",
      "new_id": "7aa7aa03206d905a0086a9bba425bf94efcba767",
      "new_mode": 33188,
      "new_path": "tests/cc/common/cc_objc_library_configured_target_tests.bzl"
    }
  ]
}
