)]}'
{
  "commit": "9ee66da850cbc0be76e556f57af37781e5631662",
  "tree": "d5d224336ca63f5a9f464f569a24d141ebc2aecf",
  "parents": [
    "5ef04d1ee7bf741611ff4be708bf88c7619f40ae"
  ],
  "author": {
    "name": "Paul Duffin",
    "email": "paulduffin@google.com",
    "time": "Wed Jun 17 16:59:43 2020 +0100"
  },
  "committer": {
    "name": "Paul Duffin",
    "email": "paulduffin@google.com",
    "time": "Sat Jun 20 11:38:08 2020 +0100"
  },
  "message": "Fix check-boot-jars when a boot jar is provided by prebuilt\n\nPreviously, when a boot jar was provided by a java_sdk_library_import\nmodule the check-boot-jars check failed because the file it depended on\nwas not available. In an incremental build the build failed due to the\nfile in the out directory not having a rule to generate it.\n\nThat was because the module was named prebuilt_\u003cmodule\u003e.\u003capex\u003e instead\nof \u003cmodule\u003e.\u003capex\u003e. This was fixed by simply removing prebuilt_ prefix\nfrom the name if it was present.\n\nAfter fixing that the check-boot-jars still did not work properly\nbecause it was expecting a jar file containing .class files but instead\nwas given a jar file containing .dex files which meant the check did\nnot work properly.\n\nThis was fixed by defining a new ApexDependency interface for use by\nthe apex/apex.go code to use instead of java.Dependency for generating\nthe androidmk entries. The *SdkLibraryImport type then implemented\nthose, by delegating to the implementation library.\n\nBug: 158304459\nBug: 159112414\nTest: m check-boot-jars\n      m checkbuild\n\t  manual inspection of the .jar file used by check-boot-jars to\n\t  ensure it contained .class files and not .dex files.\nChange-Id: I545c5c9072dd472337d2f9b4dfdf08f53c981662\nMerged-In: I545c5c9072dd472337d2f9b4dfdf08f53c981662\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "811bc426edabf1d3dd3b245ff8cfe4cce33d24b5",
      "old_mode": 33188,
      "old_path": "apex/androidmk.go",
      "new_id": "cbff7f4f447368e0590987ba0fefd6bd40b8c267",
      "new_mode": 33188,
      "new_path": "apex/androidmk.go"
    },
    {
      "type": "modify",
      "old_id": "387b29b144d1c3f0ed78cbfc4b9d9e9b02af6a32",
      "old_mode": 33188,
      "old_path": "apex/apex.go",
      "new_id": "994a05176767303914901870326144f3ed57de23",
      "new_mode": 33188,
      "new_path": "apex/apex.go"
    },
    {
      "type": "modify",
      "old_id": "9e196f43d6789048c5ee237574bebb04392ff6c8",
      "old_mode": 33188,
      "old_path": "java/java.go",
      "new_id": "90e9b1f6f25ebe1b09542f33baa9323d53a1ecb2",
      "new_mode": 33188,
      "new_path": "java/java.go"
    },
    {
      "type": "modify",
      "old_id": "8e9c0774ecd5c760d1ec78ead502b4dc54949f63",
      "old_mode": 33188,
      "old_path": "java/sdk_library.go",
      "new_id": "f000af91ee9765761f02a4956bcb92fb513a4131",
      "new_mode": 33188,
      "new_path": "java/sdk_library.go"
    }
  ]
}
