Use libbitflags-1.3.2
This updates Android.bp to still use the old version of libbitflags instead
of the most recent version. Also update the patch file for Android.bp which
ensures version 1.3.2 is still used after an update.
Test: Build
Change-Id: I55abd9f93ddf0fb01847b57183eae6b31945dbce
diff --git a/Android.bp b/Android.bp
index 85c5cd5..0ece701 100644
--- a/Android.bp
+++ b/Android.bp
@@ -56,7 +56,7 @@
features: ["unstable_boringssl"],
cfgs: ["boringssl", "soong"],
rustlibs: [
- "libbitflags",
+ "libbitflags-1.3.2",
"libcfg_if",
"libbssl_ffi",
"libforeign_types",
diff --git a/patches/Android.bp.diff b/patches/Android.bp.diff
index 9f7b012..ef0ab4f 100644
--- a/patches/Android.bp.diff
+++ b/patches/Android.bp.diff
@@ -1,5 +1,5 @@
diff --git a/Android.bp b/Android.bp
-index 2282c66..4e9011c 100644
+index 6628b2a..0ece701 100644
--- a/Android.bp
+++ b/Android.bp
@@ -54,11 +54,11 @@ rust_library {
@@ -9,7 +9,8 @@
- cfgs: ["boringssl"],
+ cfgs: ["boringssl", "soong"],
rustlibs: [
- "libbitflags",
+- "libbitflags",
++ "libbitflags-1.3.2",
"libcfg_if",
- "libopenssl_sys",
+ "libbssl_ffi",