)]}'
{
  "commit": "7b91003f18911e890a7ac093a05e687cd8e6c37e",
  "tree": "ba3df2215e05ba322e270f10862463044c6c32c5",
  "parents": [
    "8bba963f0c9004ceb5bad8fffd67600c07618818"
  ],
  "author": {
    "name": "hscham",
    "email": "hscham@google.com",
    "time": "Thu Mar 12 16:28:26 2020 +0900"
  },
  "committer": {
    "name": "Grace Cham",
    "email": "hscham@google.com",
    "time": "Wed Jun 10 08:13:47 2020 +0000"
  },
  "message": "libchrome: downgrade mojom types at arc build time\n\nThis is to prepare for synchronizing .mojom files with those in\nchromium/src which are in new syntax.\n\nAdd the mojom downgrading python script from crrev.com/c/2082513.\nIn soong/bindings_generator.go, define new ModuleFactory executing it\nand register as new Module generate_mojom_downgraded_files.\n\nIn Android.bp:\ndowngraded .mojom files are generated from the original .mojom files\nusing the new module, then they would (replace the original .mojom files\nto) be used as input to generate bindings.\nFiles in old syntax will be output as is.\n\nNote that previously, when generating the bindings, it is assumed that\nthe input .mojom files are located under the module\u0027s local source\ndirectory, which is then given as value of argument depth to\nmojo/public/tools/bindings/mojom_bindings_generator.py.\nThe mojom_bindings_generator.py computes the relative path (hence\noutput path) accordingly.\nSince this is no longer true, the source root would now be computed per\ninput .mojom file.\n\nBug: 149070836, chromium:1035484\nTest: local build; compare downgraded mojom files and generated bindings\n\nChange-Id: I86a6c67c5ae7056f3c9f617a1c5a9c954c10aa0d\n(cherry picked from commit bc0492570ba29b81b5b4b428c27acd481dd9a091)\n(cherry picked from commit 7bbbbe413c81d0c5c6aaae24d2fe13386577c557)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4f393412be92b567ff51ab6c170597c74c4f751",
      "old_mode": 33188,
      "old_path": "Android.bp",
      "new_id": "8104e8829b139e7810203f2c0805a5f967330a63",
      "new_mode": 33188,
      "new_path": "Android.bp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "15f0e3bac1f763ab15c3ed264006e8cb9a8578fa",
      "new_mode": 33261,
      "new_path": "mojo/public/tools/bindings/mojom_types_downgrader.py"
    },
    {
      "type": "modify",
      "old_id": "2c5e3f672ecf88f983db94689392cb85c6d58f27",
      "old_mode": 33188,
      "old_path": "soong/bindings_generator.go",
      "new_id": "7ff98262ed290c760bb314c7b1e5818df70f13e3",
      "new_mode": 33188,
      "new_path": "soong/bindings_generator.go"
    }
  ]
}
