)]}'
{
  "commit": "de6d1ca6ecb26e83ac9dbafd43f2e92b861e3963",
  "tree": "a419d6c41f5b1be94bd6ab924a5219f788369522",
  "parents": [
    "90094af577754693df00ed7f92a00c36a3704eb7"
  ],
  "author": {
    "name": "danakj",
    "email": "danakj@chromium.org",
    "time": "Mon Oct 28 13:07:11 2024 -0400"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Oct 28 18:56:05 2024 +0000"
  },
  "message": "Copy bindings to OUT_DIR in bssl-sys build.rs\n\nThis avoids the need for a custom environment variable in Cargo or GN\nbuilds, including under the soong build. Then Chromium will also be able\nto generate bindgen into the OUT_DIR for a sys crate via its GN rules,\nas boringssl is the only crate we can find which relies on a custom\nenvironment variable in its sys crate library\u0027s include statement.\n\nThe idea to copy from a pre-generated location comes from libsqlite3-sys\nhttps://github.com/rusqlite/rusqlite/blob/master/libsqlite3-sys/build.rs\n\nBazel does not support the OUT_DIR system that is used by Cargo and\nevery bindgen-based crate that we could find (that didn\u0027t write to the\nsource dir directly). So we keep a cfg around that Bazel rules can\npass when building the bssl-sys crate.\n\nBug: b/373864033\nChange-Id: If8a8aa8a1d8a00ead2e9935a5319bcac2aa09d1f\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/72487\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\nReviewed-by: David Benjamin \u003cdavidben@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ede641102541eecfe0254045d9c02b89f75290de",
      "old_mode": 33188,
      "old_path": "rust/bssl-sys/build.rs",
      "new_id": "ab580efa0f6912945c9049ce3dd4416cbe61210f",
      "new_mode": 33188,
      "new_path": "rust/bssl-sys/build.rs"
    },
    {
      "type": "modify",
      "old_id": "b8d0397e69043e0e570c5574bf112edd0fcc6f1a",
      "old_mode": 33188,
      "old_path": "rust/bssl-sys/src/lib.rs",
      "new_id": "8f97e6af537c3568fc21aff52a0242d557561d05",
      "new_mode": 33188,
      "new_path": "rust/bssl-sys/src/lib.rs"
    }
  ]
}
