)]}'
{
  "commit": "9ae8ed2f62491423d28302927f35d5add9caf2ab",
  "tree": "0946a3432225255487ce22715a64484f9bd08fef",
  "parents": [
    "2d6690ed9ca2cf1a4142d92ed291b8b7999cb38f"
  ],
  "author": {
    "name": "Elie Michel",
    "email": "elie.michel.fr@gmail.com",
    "time": "Fri May 12 20:19:41 2023 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri May 12 20:19:41 2023 +0000"
  },
  "message": "Add fetch_dawn_dependencies\n\nThis adds a DAWN_FETCH_DEPENDENCIES CMake option (default: OFF) that if\nturned ON fetches dependencies using a basic Python script that reads\nDEPS files instead of requiring the installation of depot_tools by all\nprojects that depend on Dawn.\n\nThe script is not equivalent to gclient as it is not aware of advanced\nconfiguration options (it always gets the list of dependencies that is\nhardcoded at the beginning) but at least for a regular use of Dawn as a\ndependency that provides a WebGPU backend (the intended use of this\nDAWN_FETCH_DEPENDENCIES option) it is enough.\n\nThis is an attempt at merging upstream [this\nrepository](https://github.com/eliemichel/WebGPU-distribution/tree/dawn)\nthat I currently recommend in [Learn WebGPU for native\nC++](https://eliemichel.github.io/LearnWebGPU/getting-started/hello-webgpu.html)\nas a shallow intermediary to avoid requiring depot_tools (and turn some\noptions on/off).\n\nBy default, the script performs shallow clones, getting only the very\ncommit that is needed. This is a great improvement over naive clone:\n\n                | Regular | Shallow |\n----------------|---------|---------|\nDownloaded size |  194 MB |  15 MB  |\nStored size     |  294 MB | 103 MB  |\n\nChange-Id: Iaedb4af78036a1696b68787c36f1d3d70e18ba2c\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131750\nCommit-Queue: Austin Eng \u003cenga@chromium.org\u003e\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a32b295f120401f778faba1b4731dbcda0931c2",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "447f48bc6109faf015a75e370ebea4fa02f4f9c4",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "0fb7342c574dd7d206e6f62f2699fc7ddfd885c0",
      "old_mode": 33188,
      "old_path": "third_party/CMakeLists.txt",
      "new_id": "77d8129a3779e884a0d4b006ae8905429a5eaa7b",
      "new_mode": 33188,
      "new_path": "third_party/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8336865ef382bffe66fedef6301292f77bf33782",
      "new_mode": 33188,
      "new_path": "tools/fetch_dawn_dependencies.py"
    }
  ]
}
