)]}'
{
  "commit": "6050b8992249506a46332cc36c85ac6aa426571a",
  "tree": "c4ee24d649b3e2a1bf455f247d42e6db6ba0957b",
  "parents": [
    "90ae9a78b46b4a46e22d4190d0a40b7afbcb9ab9"
  ],
  "author": {
    "name": "Jihoon Kang",
    "email": "jihoonkang@google.com",
    "time": "Thu Mar 14 17:28:44 2024 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Wed Mar 27 05:43:29 2024 +0000"
  },
  "message": "Create rule to generate the exportable api files when checkapi is disabled\n\nWITHOUT_CHECK_API environment variable enables the checkapi to be\nremoved from the critical path. The variable is rarely used within AOSP,\nbut the downstream vendors may depend on it, in order to improve the\nbuild performance given that the api signature file through metalava is\na resource costly task.\n\nCurrently, the exportable api files / removed api files are not\ngenerated when checkapi is disabled, but a module may depend on the\nexportable api files when a checkapi is disabled. In order to prevent\nthe missing build rules error in this case, generate the rule to copy\nthe checked in api file / removed api file to the exportable api file /\nremoved api file to prevent build errors.\n\nThis change also fixes the error message when the OutputFiles(string)\napi file is null, to correctly inform the user the error.\n\nTest: m BUILD_FROM_SOURCE_STUB\u003dtrue WITHOUT_CHECK_API\u003dtrue \u0026\u0026 inspect ninja path and verify that \"non-updatable-exportable-current.txt\" depends on the generated exportable api file.\nBug: 329374072\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2d4074a022c0d836c712a6606b5c6e2cb376e07a)\nMerged-In: I24f88d450fb46b6ea9d5920d83617d8228edd34b\nChange-Id: I24f88d450fb46b6ea9d5920d83617d8228edd34b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76c8d88902bf515fc1f88d0c120c4db4f57b6025",
      "old_mode": 33188,
      "old_path": "java/droidstubs.go",
      "new_id": "9556e956ac3d6dae6c8530d91e196ccc3fee0ce2",
      "new_mode": 33188,
      "new_path": "java/droidstubs.go"
    }
  ]
}
