)]}'
{
  "commit": "492d694f738ff12f9393c2db9b373289a591e578",
  "tree": "92ab5d7f251bb6be0a221c70d21cc00874d7ec05",
  "parents": [
    "2870517c26af7f297d24d50946f577f7ae544892"
  ],
  "author": {
    "name": "Cole Faust",
    "email": "colefaust@google.com",
    "time": "Wed Jan 08 13:10:11 2025 -0800"
  },
  "committer": {
    "name": "Cole Faust",
    "email": "colefaust@google.com",
    "time": "Wed Jan 08 13:10:11 2025 -0800"
  },
  "message": "Support disting in soong-only builds\n\nDisting was normally handled by the packaging kati step, which was\nnot run in soong-only builds. Disting needs to be done in a separate\nninja file, so that if you toggle dist on/off you only need to\nregenerate a small ninja file instead of the main one.\n\nThis change makes it so that the kati packaging step is also run in\nsoong-only builds. (which makes them not technically soong-only, but\nthe packaging step is very fast so it\u0027s fine)\n\nPhonies in soong were normally exported to the main make invocation\nand then make would emit the ninja rules for them. In soong-only builds\nsoong would emit the ninja phone rules directly. This is problematic\nwhen supporting disting in soong, because some of the phony rules have\nthe same name as dist targets, causing ninja to complain about duplicate\nrules. To resolve this, make soong export its phonies to the packaging\nstep, which will dedup them with the dist phonies.\n\nBug: 388312357\nTest: m --soong-only dist\nChange-Id: I1ebf164541173804a2c0c01a5a3b1b139fbf139b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "153ecf65b1304e65790212f3b47c4ecedbf41587",
      "old_mode": 33188,
      "old_path": "packaging/distdir.mk",
      "new_id": "97ed95a56981ee3bf661188ad577d24374a56411",
      "new_mode": 33188,
      "new_path": "packaging/distdir.mk"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6d173140cc5c4cd031ffdcabb78a62f28bc99eeb",
      "new_mode": 33188,
      "new_path": "packaging/main_soong_only.mk"
    }
  ]
}
