)]}'
{
  "commit": "23776d03bdc8e5e15ac82b993d64fa24aae87db4",
  "tree": "b71a81853757f2525eb17f21c1a15df0eeac8b13",
  "parents": [
    "f31654786c0e9c54c227b1e966faadc615780ef5"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Fri Dec 09 11:33:17 2022 -0500"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jan 31 19:39:27 2023 +0000"
  },
  "message": "Simplify the external Bazel build.\n\nNow that all assembly files are conditionalized, we no longer need to\ndetect platforms at the build level. This is convenient because\ndetecting platforms in Bazel is a bit of a mess.\n\nIn particular, this reduces how much we depend on @platforms being\ncorrect. gRPC\u0027s build appears to still be using some legacy modes which\nseem cause it to, on cross-compiles, report the host\u0027s platforms rather\nthan the target. See https://github.com/grpc/grpc/pull/31938\n\ngRPC should eventually fix this, but it is apparently challenging due\nto complexities in migrating from Bazel\u0027s legacy system the new\n\"platforms\" mechanism. Instead, try to sidestep this problem by not\nrelying on the build to do this.\n\nNow, we primarily rely on os:windows being accurate, and cross-compiling\nto/from Windows is uncommon. We do also need os:linux to be accurate\nwhen Linux is the target OS, but if Linux is the host and gRPC mislabels\nthe target as os:linux, this is fine as long as the target is not\nFreeBSD, Apple, or another platform that cares about _XOPEN_SOURCE. (In\nparticular, Android is ambivalent.)\n\nI\u0027ve also renamed a few things based on what they were actually\nselecting. posix_copts was really copts for toolchains with GCC-style\nflags. Unfortunately, it\u0027s not clear how to condition on the compiler,\nrather than the platform in Bazel, so we\u0027ll do the wrong thing on\nnon-MSVC Windows toolchains, but that was true before.\n\nBug: 542\nChange-Id: I7330d8961145ae5714d4cad01259044230d96bcd\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/56465\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c3143894a8c280e256a55bd4b1343fcd008d1db9",
      "old_mode": 33188,
      "old_path": "util/BUILD.toplevel",
      "new_id": "a855aa5a9cdb806a8bd485af7345b10ac5c121b5",
      "new_mode": 33188,
      "new_path": "util/BUILD.toplevel"
    },
    {
      "type": "modify",
      "old_id": "383de02d20a26113298d277aea6811981d938545",
      "old_mode": 33188,
      "old_path": "util/generate_build_files.py",
      "new_id": "0cabe9c2b283b1902107622f77ae35636f8af730",
      "new_mode": 33188,
      "new_path": "util/generate_build_files.py"
    }
  ]
}
