Fix patch file.
To reflect aosp/3180999.
Bug: http://b/339424309
Test: treehugger
Change-Id: Id7c2819cb4b0d734ca79dcd14d1cf0586e13833a
diff --git a/patches/bindgen_cmd.diff b/patches/bindgen_cmd.diff
index 4a0833b..60cd4d8 100644
--- a/patches/bindgen_cmd.diff
+++ b/patches/bindgen_cmd.diff
@@ -1,3 +1,38 @@
+diff --git a/android/bindgen_cmd/Android.bp b/android/bindgen_cmd/Android.bp
+new file mode 100644
+index 0000000..9189742
+--- /dev/null
++++ b/android/bindgen_cmd/Android.bp
+@@ -0,0 +1,29 @@
++package {
++ // See: http://go/android-license-faq
++ // A large-scale-change added 'default_applicable_licenses' to import
++ // all of the 'license_kinds' from "external_rust_crates_bindgen_license"
++ // to get the below license kinds:
++ // SPDX-license-identifier-Apache-2.0
++ default_applicable_licenses: ["external_rust_crates_bindgen_license"],
++}
++
++rust_library_host {
++ name: "libbindgen_cmd",
++ host_cross_supported: false,
++ crate_name: "bindgen_cmd",
++ srcs: ["src/lib.rs"],
++ edition: "2018",
++ features: [
++ "clap",
++ "runtime",
++ "which",
++ "which-rustfmt",
++ ],
++ rustlibs: [
++ "libbindgen",
++ "libbindgen_cli",
++ "libclap",
++ "libenv_logger",
++ ],
++ compile_multilib: "first",
++}
diff --git a/android/bindgen_cmd/src/lib.rs b/android/bindgen_cmd/src/lib.rs
new file mode 100644
index 0000000..d33da7f