)]}'
{
  "commit": "08f926f2d6b95e0425dd8fa1662b70df674e8a4a",
  "tree": "80466cdb4796b9cbed0c602a2ce56eed430cb668",
  "parents": [
    "83c6aefbcdc3c6280ed2f110ed9865c2cffedd6c"
  ],
  "author": {
    "name": "Sam Elliott",
    "email": "selliott@lowrisc.org",
    "time": "Fri Nov 20 13:09:14 2020 +0000"
  },
  "committer": {
    "name": "Sam Elliott",
    "email": "sam@lenary.co.uk",
    "time": "Fri Nov 20 14:21:45 2020 +0000"
  },
  "message": "[sw] Add Custom Target Dependencies\n\nMany of our meson custom_targets depend on scripts inside the repo, but we\ngive them absolute paths when invoking them (usually via\n`meson.source_root() / \u0027util/script.py\u0027`), because meson does not cope\nwith relative paths including `..`. This broadly works fine,\nuntil one of those scripts is changed, at which point meson doesn\u0027t\nalways realise the script will have to be re-run.\n\nThis change adds `depend_files:` configuration for each custom target\nthat uses an in-tree script. Where we have abstracted the definition of\nthe custom target, this defines a `_depend_files` variable, to go with\nthe `_command` variable.\n\nOne other major change is that `cargo` is now a disabler, so if meson\ndoes not find `cargo`, you will not get any targets that depend on\ncargo -- we also now ensure that we use the `cargo` that meson found,\nrather than any other one that might be on the user\u0027s path.\n\nSigned-off-by: Sam Elliott \u003cselliott@lowrisc.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6aa8b23a21cea490cb998ffd7d1a0aa5190988e5",
      "old_mode": 33188,
      "old_path": "sw/device/benchmarks/coremark/meson.build",
      "new_id": "ad0ce480bb9c447d3e55c78050ca6731e19aef52",
      "new_mode": 33188,
      "new_path": "sw/device/benchmarks/coremark/meson.build"
    },
    {
      "type": "modify",
      "old_id": "d5e41197a4b74e92ef50d639337327ddf1390c94",
      "old_mode": 33188,
      "old_path": "sw/device/boot_rom/meson.build",
      "new_id": "095a29751c787e3ae8fe0077348bc04b8d465561",
      "new_mode": 33188,
      "new_path": "sw/device/boot_rom/meson.build"
    },
    {
      "type": "modify",
      "old_id": "d1bb89dbeb11681c8121661f18197b03ae5f400b",
      "old_mode": 33188,
      "old_path": "sw/device/examples/hello_usbdev/meson.build",
      "new_id": "7b09ef6ee72e39cf43fe78039e00157ea891e20f",
      "new_mode": 33188,
      "new_path": "sw/device/examples/hello_usbdev/meson.build"
    },
    {
      "type": "modify",
      "old_id": "60e44cbbe00dbfa5eae09e63c00984e36f6406e2",
      "old_mode": 33188,
      "old_path": "sw/device/examples/hello_world/meson.build",
      "new_id": "fcb0d9ba9e4bc461e7954b8caae3a46ecc4df6c6",
      "new_mode": 33188,
      "new_path": "sw/device/examples/hello_world/meson.build"
    },
    {
      "type": "modify",
      "old_id": "b987b9b687305004f204444299e0ea3e9fffc1d1",
      "old_mode": 33188,
      "old_path": "sw/device/mask_rom/meson.build",
      "new_id": "da937394bb8f19916dd32e44083f8be5fbce7d96",
      "new_mode": 33188,
      "new_path": "sw/device/mask_rom/meson.build"
    },
    {
      "type": "modify",
      "old_id": "34045b8ac3cb1bda0b21afa0619be2062c11d743",
      "old_mode": 33188,
      "old_path": "sw/device/meson.build",
      "new_id": "4ed2baf55fe9edda13744b831d05b3e7eccbfffc",
      "new_mode": 33188,
      "new_path": "sw/device/meson.build"
    },
    {
      "type": "modify",
      "old_id": "d8d6fae03a17bcd3c533fc1a4ec2d8c5f44d8860",
      "old_mode": 33188,
      "old_path": "sw/device/riscv_compliance_support/meson.build",
      "new_id": "1e236ba2f8305f234b28833403c72be230774f86",
      "new_mode": 33188,
      "new_path": "sw/device/riscv_compliance_support/meson.build"
    },
    {
      "type": "modify",
      "old_id": "d4f34beeaf8e4fc097b1eccb19f9cff39b654d2a",
      "old_mode": 33188,
      "old_path": "sw/device/rom_exts/meson.build",
      "new_id": "8bd4d6b94260b64a77fe4145e18d60c1edf08bed",
      "new_mode": 33188,
      "new_path": "sw/device/rom_exts/meson.build"
    },
    {
      "type": "modify",
      "old_id": "bf0bebd7abf361c7e2659ffd17876347f5d57190",
      "old_mode": 33188,
      "old_path": "sw/device/sca/aes_serial/meson.build",
      "new_id": "190842830c0c92f078bf12181a31ba30d4ebb6ad",
      "new_mode": 33188,
      "new_path": "sw/device/sca/aes_serial/meson.build"
    },
    {
      "type": "modify",
      "old_id": "6d5b57feca45ad6efdb180300f53e921872e1c23",
      "old_mode": 33188,
      "old_path": "sw/device/tests/meson.build",
      "new_id": "8fa15c4a35d0be1251c6b4547466548f940c25df",
      "new_mode": 33188,
      "new_path": "sw/device/tests/meson.build"
    },
    {
      "type": "modify",
      "old_id": "0624bb7f50aad69d3cbf5743bace2f46645c6a19",
      "old_mode": 33188,
      "old_path": "sw/device/tock/meson.build",
      "new_id": "2abc25f6bb824eccd01ab0288898c24988ca4e4d",
      "new_mode": 33188,
      "new_path": "sw/device/tock/meson.build"
    },
    {
      "type": "modify",
      "old_id": "a9e53e635fa89da165b4db63e6ce8997ad1e5205",
      "old_mode": 33188,
      "old_path": "sw/host/spiflash/meson.build",
      "new_id": "68b95ec2322ac6cdaac4fbfa287768186d233194",
      "new_mode": 33188,
      "new_path": "sw/host/spiflash/meson.build"
    },
    {
      "type": "modify",
      "old_id": "c09721763f391028724e444c5e67daccfe93d697",
      "old_mode": 33188,
      "old_path": "sw/meson.build",
      "new_id": "18109d0ccb9f1afba5bd27261563f99289fcdd33",
      "new_mode": 33188,
      "new_path": "sw/meson.build"
    },
    {
      "type": "modify",
      "old_id": "5d2075ecba2b7d8da08e1b57f07b862decc88cf6",
      "old_mode": 33188,
      "old_path": "sw/otbn/meson.build",
      "new_id": "8e84375a4bf5caf9bbc5854d57bac3a64da9008f",
      "new_mode": 33188,
      "new_path": "sw/otbn/meson.build"
    },
    {
      "type": "modify",
      "old_id": "71908de1a25f51017035cd3cb52926e2c1beb6cc",
      "old_mode": 33261,
      "old_path": "util/build_tock.sh",
      "new_id": "d564b0bef1b8ef3fd9c737fbf0fbf5d47e695f99",
      "new_mode": 33261,
      "new_path": "util/build_tock.sh"
    }
  ]
}
