)]}'
{
  "commit": "29376de44c95431e8e85f393cc7bdc7fbd80d14b",
  "tree": "bfd02565faa726bb6b2e40f532f78e3315cb3d3f",
  "parents": [
    "fdca9c65fb8ff6c10067467d986624965f09cb04"
  ],
  "author": {
    "name": "Zhi Dou",
    "email": "zhidou@google.com",
    "time": "Mon Mar 10 14:20:58 2025 +0000"
  },
  "committer": {
    "name": "Zhi Dou",
    "email": "zhidou@google.com",
    "time": "Mon Mar 10 17:13:28 2025 +0000"
  },
  "message": "add tool exported-flag-check\n\nThis tool ensures that exported flags are used as intended. Exported flags, marked with\n`is_exported: true` in their declaration, are designed to control access to specific API\nfeatures. This tool identifies and reports any exported flags that are not currently\nassociated with an API feature, preventing unnecessary flag proliferation and maintaining\na clear API design.\n\nThis tool should be triggered by the build system when it builds\nall_aconfig_declarations\n\nTest: atest exported-flag-check\nBug: 336800305\nChange-Id: Ia1574cb05478eb2f329b959ee69ad13a4abdad50\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a031b7f928d55191a360ee1e8a58b12c788b16c1",
      "old_mode": 33188,
      "old_path": "tools/aconfig/Cargo.toml",
      "new_id": "cb8377e64c1abb75517f4ccaf2858bc79c20928b",
      "new_mode": 33188,
      "new_path": "tools/aconfig/Cargo.toml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "184149adaca3b0ba4b2c54b1f5590658a97a7e40",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/Android.bp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6bc07c541016b67a81befeefb1c3cbab6faf6286",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/Cargo.toml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/allow_list.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "866a700d027520bcce0e04f12b71c7044b1c7f9d",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/src/main.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2c304240675a073107faf49745c3ce64ee96a5bd",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/src/utils.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2ad559f0adc668c1db495afe82270fa9b97192d7",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/tests/api-signature-file.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7fbcb3dc655cc6d9614f635208f2a4ed3e9a7344",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/tests/finalized-flags.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f86dbfafbbca878f23a6fadc9c5af520633427b5",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/tests/flags.declarations"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "be64ef99278df922da146e57caf6d3efdddce0eb",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/tests/flags.protobuf"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ff6225d8223dd9a2d2e2f20f3d3b59f7b09aeeda",
      "new_mode": 33188,
      "new_path": "tools/aconfig/exported_flag_check/tests/flags.values"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "701189cd5cab581092789af5fe6dcd90b3fea8ca",
      "new_mode": 33261,
      "new_path": "tools/aconfig/exported_flag_check/tests/generate-flags-protobuf.sh"
    }
  ]
}
