)]}'
{
  "commit": "226dddda4534a249db0133e17c57a7d6a1639bc9",
  "tree": "df57c1c743dac11eae587a6e594c5aea95f9c817",
  "parents": [
    "b86c99a5ff7e37b53916b336aee5f8891129a169"
  ],
  "author": {
    "name": "Mitch Rudominer",
    "email": "rudominer@chromium.org",
    "time": "Fri Oct 02 12:14:41 2015 -0700"
  },
  "committer": {
    "name": "Mitch Rudominer",
    "email": "rudominer@chromium.org",
    "time": "Fri Oct 02 12:14:41 2015 -0700"
  },
  "message": "Adds new GN template go_binary\n\nThis template supports the building of a Go binary, as opposed to a Go Mojo application. It optionally supports\nthe Go binary linking against native code using cgo.\n\nI plan to use this to build the new version of the Mojom compiler\nwhich is written in Go. This application needs to link against\nthe Mojo Go bindings because it will serialize the compiler\u0027s\nintermediate representation to a Mojo message. This means that I need to use cgo and depend on the target\n//mojo/public/platform/native:system.\n\nHere is what my invocation looks like:\n\ngo_binary(\"mojom_parser\") {\n  sources \u003d [\n    \"parser_main.go\",\n  ]\n  inputs \u003d [\n    \"generated/mojom_files/mojom_files.mojom.go\",\n    \u003csome files elided from the list here\u003e\n    \"parser/parsing.go\",\n  ]\n  deps \u003d [\n    \"//mojo/public/platform/native:system\",\n  ]\n}\n\nR\u003drogulenko@google.com, rogulenko\n\nReview URL: https://codereview.chromium.org/1378993002 .\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "60714f0f088381de992ef2900567d747a55395de",
      "old_mode": 33188,
      "old_path": "mojo/go/rules.gni",
      "new_id": "4fac5374a5728d5a6b3092d9bb740fc5554b597a",
      "new_mode": 33188,
      "new_path": "mojo/go/rules.gni"
    }
  ]
}
