aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoopa Sattiraju <sattiraju@google.com>2021-12-21 15:58:41 -0800
committerRoopa Sattiraju <sattiraju@google.com>2021-12-21 16:13:42 -0800
commit3be99c1ed0cc14067a2c2badd1ae931e46b49693 (patch)
treee46cd99d3adb97fd9c4fdf65e73555b13b5f456b
parent65aaaa7452b6a7b7b268348c9f74fff0a8b7a9d6 (diff)
downloadbitflags-3be99c1ed0cc14067a2c2badd1ae931e46b49693.tar.gz
Bug: 206121418 Test: Compile Change-Id: Ied2eb30df1c0a765fe2b9d6d9fd884971b6b602d
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 6bc1c19..6a110ae 100644
--- a/Android.bp
+++ b/Android.bp
@@ -102,8 +102,10 @@ rust_library {
features: ["default"],
apex_available: [
"//apex_available:platform",
+ "com.android.bluetooth",
"com.android.compos",
"com.android.virt",
],
vendor_available: true,
+ min_sdk_version: "29",
}
diff --git a/cargo2android.json b/cargo2android.json
index 73b0969..be5b70b 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,6 +1,7 @@
{
"apex-available": [
"//apex_available:platform",
+ "com.android.bluetooth",
"com.android.compos",
"com.android.virt"
],
@@ -8,10 +9,11 @@
"trybuild"
],
"device": true,
+ "min-sdk-version": "29",
"run": true,
"test-blocklist": [
"tests/compile.rs"
],
"tests": true,
"vendor-available": true
-} \ No newline at end of file
+}