aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-01 10:57:16 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-01 10:57:16 +0000
commita6468184bf93141f2acfadb1ddf67503817992de (patch)
tree6c8f99caa41441d024d8d75c5b99ccc241ce94a0
parent27e3ed98a52aeaa51e61b0f2168b2dceccf1be3f (diff)
parent1081fb69644714e0022b02bac6c1fce43d70ceae (diff)
downloadnanopb-c-busytown-mac-infra-release.tar.gz
Change-Id: I438b6cbdca75904d988bf70f5a039edbe69aad26
-rw-r--r--Android.bp5
-rw-r--r--generator/Android.bp6
2 files changed, 6 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index bd07587..4515e03 100644
--- a/Android.bp
+++ b/Android.bp
@@ -74,6 +74,11 @@ cc_defaults {
cc_library_static {
name: "libprotobuf-c-nano",
defaults: ["libprotobuf-c-nano-defaults"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.btservices",
+ ],
+ min_sdk_version: "30",
}
cc_library_static {
diff --git a/generator/Android.bp b/generator/Android.bp
index cd7516c..343b0ca 100644
--- a/generator/Android.bp
+++ b/generator/Android.bp
@@ -22,12 +22,8 @@ python_binary_host {
},
libs: ["libprotobuf-python"],
version: {
- py2: {
- enabled: true,
- embedded_launcher: true,
- },
py3: {
- enabled: false,
+ embedded_launcher: true,
},
},
}