)]}'
{
  "commit": "b722d8baf1a5ca7f0f5d88081e8378f119396ca8",
  "tree": "1878adc36116185a280125c0b248f460a22a3220",
  "parents": [
    "6f13aaac55a977e1948910942675c69f2b4f7a94"
  ],
  "author": {
    "name": "Michael Spang",
    "email": "spang@google.com",
    "time": "Mon Aug 10 00:02:33 2020 -0400"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Aug 19 17:11:18 2020 +0000"
  },
  "message": "Identify current toolchain on error\n\nCurrently errors from GN identify the source location that failed, but\nnot the toolchain. This can be confusing, and adding a\n\n  print(current_toolchain)\n\nis often helpful when debugging these errors. This patch changes GN to\ninclude the toolchain in the error message whenever there\u0027s an error\nin a non-default toolchain.\n\nThis produces output like the following:\n\n  ERROR at //subdir/BUILD.gn:3:1 (//:toolchain): Assertion failed.\n  assert(only_true_in_default_toolchain)\n  ^-----\n  See //BUILD.gn:51:14: which caused the file to be included.\n      deps \u003d [ \"subdir\" ]\n               ^-------\n\nBug: 184\n\nChange-Id: I8463f04cf94242c4f7c518d4840ae8f586b4e4fa\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/9640\nCommit-Queue: Brett Wilson \u003cbrettw@chromium.org\u003e\nReviewed-by: Brett Wilson \u003cbrettw@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5eaba670e74ac445d57587438b0ba844d41696f5",
      "old_mode": 33188,
      "old_path": "src/gn/err.cc",
      "new_id": "301ee8d6ed52c45f425058e9f5f2deecca5e941c",
      "new_mode": 33188,
      "new_path": "src/gn/err.cc"
    },
    {
      "type": "modify",
      "old_id": "da05f2e9bd61079e7876212f7b55f583d3dbc84d",
      "old_mode": 33188,
      "old_path": "src/gn/err.h",
      "new_id": "6bd2f02b2991c741b9d32685b453dd7ab78a1c09",
      "new_mode": 33188,
      "new_path": "src/gn/err.h"
    },
    {
      "type": "modify",
      "old_id": "547e919bd9a5884441e75f7bae4c81ef9b01a0c9",
      "old_mode": 33188,
      "old_path": "src/gn/loader.cc",
      "new_id": "c6151705fa2229aec40e8862f15c5372807f9962",
      "new_mode": 33188,
      "new_path": "src/gn/loader.cc"
    }
  ]
}
