)]}'
{
  "commit": "0a0a2fbea9025c23fa6305c9b481f72955a88ecf",
  "tree": "7cae791d1d50846b6bba547947e6618f7b114058",
  "parents": [
    "bc909df73215735a98490a3da5bf375c7edb3d0c"
  ],
  "author": {
    "name": "Jiakai Zhang",
    "email": "jiakaiz@google.com",
    "time": "Thu Sep 30 09:38:19 2021 +0000"
  },
  "committer": {
    "name": "Jiakai Zhang",
    "email": "jiakaiz@google.com",
    "time": "Fri Oct 29 11:55:20 2021 +0000"
  },
  "message": "Add a build-time check for dexpreopting system server jars.\n\nThis change adds a Soong module that stores the paths to the compilation\nartifacts of system server jars in a variable, which will then be\nconsumed by Make to check if the artifacts are installed. When the check\nfails, it means that dexpreopting is not working for some system server\njars and needs to be fixed.\n\nBug: 201371822\nTest: m nothing\nTest: manual -\n  1. Add \"service-permission\" to DEXPREOPT_DISABLED_MODULES (https://cs.android.com/android/platform/superproject/+/master:build/make/core/product_config.mk?q\u003dDEXPREOPT_DISABLED_MODULES)\n  2. m nothing\n  3. See the error:\n    Missing compilation artifacts. Dexpreopting is not working for some system server jars\n    Offending entries:\n    system/framework/oat/x86_64/apex@com.android.permission@javalib@service-permission.jar@classes.odex\n    system/framework/oat/x86_64/apex@com.android.permission@javalib@service-permission.jar@classes.vdex\nChange-Id: I4816f19668f1dae180a34adafdbfa448c97aa0db\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b5ddaa4e44ed89a0064693e6e9120eed182cc609",
      "old_mode": 33188,
      "old_path": "Android.bp",
      "new_id": "0e8d86d3b7d809038d976fde9e6033cb869ce737",
      "new_mode": 33188,
      "new_path": "Android.bp"
    },
    {
      "type": "modify",
      "old_id": "965b7552d4f40d93787fc0336c4ae8126d0015b4",
      "old_mode": 33188,
      "old_path": "dexpreopt/dexpreopt.go",
      "new_id": "3145315e3e2830875b9d3cd930a8bbdc93db6026",
      "new_mode": 33188,
      "new_path": "dexpreopt/dexpreopt.go"
    },
    {
      "type": "modify",
      "old_id": "9ffa1238461fce8361990aa14937fdcf19470bb6",
      "old_mode": 33188,
      "old_path": "java/Android.bp",
      "new_id": "78d0cc1a94c786ad68d8bce9f232fba62d23ba41",
      "new_mode": 33188,
      "new_path": "java/Android.bp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "565901d352faad423e7dcb8c6bdb1cc8b51eefce",
      "new_mode": 33188,
      "new_path": "java/dexpreopt_check.go"
    }
  ]
}
