)]}'
{
  "commit": "e6daf66f23b4a271940f1d8399374205312010ce",
  "tree": "c626737fe3a90926a4637aada186b0d15ef7392f",
  "parents": [
    "f3c0d67fa49d2d6fd338c52ad445aaefadfbc297"
  ],
  "author": {
    "name": "Jihoon Kang",
    "email": "jihoonkang@google.com",
    "time": "Thu Feb 06 01:38:16 2025 +0000"
  },
  "committer": {
    "name": "Jihoon Kang",
    "email": "jihoonkang@google.com",
    "time": "Thu Feb 06 18:50:10 2025 +0000"
  },
  "message": "Migrate api lint report dist rules to Soong\n\nThis change achieves the followings:\n\n1. Fix the missing api lint report dist rules.\nPrior to https://r.android.com/3467664, the api lint report files were\ncopied to the dist directory via the following dependency path:\n```\ndroidcore -\u003e checkapi -\u003e \u003cdroidstubs name\u003e-api-lint -\u003e api lint report\nfile\n```\nHowever, the aforementioned change removed the dependency path between\ndroidcore and checkapi, and consequently the apilint/ subdirectory is\nnot generated in the dist directory in ToT. This change fixes the\nbroken behavior by adding \"droidcore\" as an additional dist goal for the\napi lint report file.\n\n2. Migrate the api lint report dist rule from Androidmk to\n   MakeVars(...).\nChange https://r.android.com/3476313 has added the support to dist files\nadded via `MakeVars(...)` in Soong only build. This change utilizes this\nfunctionality to support disting the api lint report files in Soong only\nbuild.\n\nThis change also breaks down the switch cases in\ngetSoongOnlyDataFromMods to multiple conditionals, because a module can\nset more than one of the providers listed in the switch statement.\n\nTest: m droid dist --soong-only \u0026\u0026 ls -l out/dist/apilint\nBug: 394365683\nChange-Id: I32640312e92e13831486d66b658a04d96104170f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cf1589d3ab38e1cdc0a13b8fafc99af90d200d7e",
      "old_mode": 33188,
      "old_path": "android/androidmk.go",
      "new_id": "f2e1c102edccd955fbd610e0c1ef1c2b79ea33c1",
      "new_mode": 33188,
      "new_path": "android/androidmk.go"
    },
    {
      "type": "modify",
      "old_id": "f069e759017cae02a59f1c939cdeadaf8b822084",
      "old_mode": 33188,
      "old_path": "java/androidmk.go",
      "new_id": "430536039a918b1205a3087cc10b2adbe88d1df9",
      "new_mode": 33188,
      "new_path": "java/androidmk.go"
    },
    {
      "type": "modify",
      "old_id": "22f4d981d65b2516da9febe6c36295010c81cf05",
      "old_mode": 33188,
      "old_path": "java/droidstubs.go",
      "new_id": "c8f798a9be2b58899f450e0b3c6d348a988dc995",
      "new_mode": 33188,
      "new_path": "java/droidstubs.go"
    }
  ]
}
