)]}'
{
  "commit": "ab46bbbd79cc36802d4bb3b35713f8119844f6b1",
  "tree": "ca1a8652a8c0996078ac83a9b875f7492929b16a",
  "parents": [
    "afe9d95047c0ebe02c10875e4aff3b24f44016a8"
  ],
  "author": {
    "name": "Fabian Meumertzheim",
    "email": "fabian@meumertzhe.im",
    "time": "Thu Jul 30 05:08:50 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Jul 30 05:09:10 2026 -0700"
  },
  "message": "Pass use_pic when creating module codegen actions\n\nCopybara Import from https://github.com/bazelbuild/rules_cc/pull/788\n\nBEGIN_PUBLIC\nPass use_pic when creating module codegen actions (#788)\n\nModule codegen actions (`header_module_codegen`) compile a module file into an object file. `_create_module_codegen_action` computes `use_pic` from the module file\u0027s name but didn\u0027t forward it to `_create_compile_action`, so Bazel\u0027s `CppCompileActionBuilder` treats the action as non-PIC even for PIC module files — and e.g. looks up the non-PIC transitive modules as mandatory inputs, which are empty in PIC-only builds.\n\nCloses #788\nEND_PUBLIC\n\nStartblock:\n  * // Put other blockers before this line to avoid churning.\n  * has lgtm\n  * is approved\n  * and then\n  * all comments are resolved\n  * and then\n  *[] allows unknown commit\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/788 from fmeum:module-codegen-inputs f249d3f2ec321e4c726e93a88b274d1716bd270b\nPiperOrigin-RevId: 956453977\nChange-Id: I700b49c3881c707408201b96e518cced11215477\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f52c91b5cebbc656d90a9fd2ad89a9deaeda7af",
      "old_mode": 33188,
      "old_path": "cc/private/compile/compile.bzl",
      "new_id": "d1ca4ad1ff8cd631588f34677f437661159b9d83",
      "new_mode": 33188,
      "new_path": "cc/private/compile/compile.bzl"
    }
  ]
}
