)]}'
{
  "commit": "1c4d94dccfd5490e98abe5ca95a29f0602c6047f",
  "tree": "92c3c732813048189d9e60a7ff97403a34e9d964",
  "parents": [
    "e3fcb41ff7dcdb2d65c068c575147f965e8afb47"
  ],
  "author": {
    "name": "Spandan Das",
    "email": "spandandas@google.com",
    "time": "Thu Oct 26 22:38:34 2023 +0000"
  },
  "committer": {
    "name": "Spandan Das",
    "email": "spandandas@google.com",
    "time": "Wed Nov 08 18:37:24 2023 +0000"
  },
  "message": "Use `all_apex_contributions` for source/prebuilts selection\n\nThis flattened singleton module explicitly lists by module name whether source or\nprebuilt version of a module should be used. If a module appears in this\nmetadata module, it supersedes all other source vs prebuilts selection\nmechanism\n\nImplementation details\n- Update the module dep chain from \u003csource\u003e --\u003e \u003cprebuilt\u003e to \u003csource\u003e\n  --\u003e \u003cprebuilt\u003e --\u003e all_apex_contributions\n- all_apex_contributions sets a provider which is bubbled up\n  to the source module. This requires changing `prebuilt_select` to a\n  bottom up mutator\n- Update `usePrebuilt` to consult the new provider before falling back\n  to existing source vs selection mechanisms. If (foo|prebuilt_foo) is\n  listed in the selected `apex_contributions` modules, it\n  will be used superseding any other selection mechanisms.\n- Update this depTag to IsMetaDepTag so that bootclasspath_fragment\u0027s\n  validation ignores this new dependency.\n\nTest: Added unit tests to assert that this new mechanism supersedes\n`use_source_config_var`\n\nBug: 308174768\nChange-Id: I39a85639642711f3c96b6f18b94d626b55e80c66\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "250161f46f13cc00d2ecc4288ead2279b3d7430d",
      "old_mode": 33188,
      "old_path": "android/module.go",
      "new_id": "0d405ebd3360e6307be5f3faf5e100983a97d76c",
      "new_mode": 33188,
      "new_path": "android/module.go"
    },
    {
      "type": "modify",
      "old_id": "5acef1de4b0dfd771d9ba22fae639e600383cdc6",
      "old_mode": 33188,
      "old_path": "android/prebuilt.go",
      "new_id": "edd014a8cba167e5f3fb1eaace21acd8afb6e5be",
      "new_mode": 33188,
      "new_path": "android/prebuilt.go"
    },
    {
      "type": "modify",
      "old_id": "915e6fab032d18c3d4cfd4bb6e1185f90dea3788",
      "old_mode": 33188,
      "old_path": "android/prebuilt_test.go",
      "new_id": "953258eddbbba059c5eb3a5d6d2c947eb0b1d862",
      "new_mode": 33188,
      "new_path": "android/prebuilt_test.go"
    }
  ]
}
