Set min_sdk_version am: 9864dad883
Original change: https://android-review.googlesource.com/c/platform/packages/modules/adb/+/1895845
Change-Id: If80d3c3e493e8e57deb0911031a466865d2e72cd
diff --git a/Android.bp b/Android.bp
index 2504f0d..461abb4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -549,6 +549,7 @@
}
},
+ min_sdk_version: "30",
apex_available: [
"//apex_available:platform",
"com.android.adbd",
@@ -629,6 +630,7 @@
},
},
+ min_sdk_version: "30",
apex_available: [
"//apex_available:platform",
"com.android.adbd",
@@ -643,6 +645,7 @@
name: "libadbd",
defaults: ["adbd_defaults", "host_adbd_supported"],
recovery_available: true,
+ min_sdk_version: "30",
apex_available: ["com.android.adbd"],
// avoid getting duplicate symbol of android::build::getbuildnumber().
@@ -701,6 +704,7 @@
name: "adbd",
defaults: ["adbd_defaults", "host_adbd_supported", "libadbd_binary_dependencies"],
recovery_available: true,
+ min_sdk_version: "30",
apex_available: ["com.android.adbd"],
srcs: [
diff --git a/crypto/Android.bp b/crypto/Android.bp
index 8fdce89..9628348 100644
--- a/crypto/Android.bp
+++ b/crypto/Android.bp
@@ -69,6 +69,7 @@
name: "libadb_crypto",
defaults: ["libadb_crypto_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
"test_com.android.adbd",
diff --git a/libs/adbconnection/Android.bp b/libs/adbconnection/Android.bp
index da0b5b6..0698a98 100644
--- a/libs/adbconnection/Android.bp
+++ b/libs/adbconnection/Android.bp
@@ -27,6 +27,7 @@
use_version_lib: false,
recovery_available: true,
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
// TODO(b/151398197) remove the below
@@ -50,6 +51,7 @@
"//art:__subpackages__",
"//packages/modules/adb/apex:__subpackages__",
],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
"test_com.android.adbd",
diff --git a/pairing_auth/Android.bp b/pairing_auth/Android.bp
index e2e9fc4..1d6dd98 100644
--- a/pairing_auth/Android.bp
+++ b/pairing_auth/Android.bp
@@ -71,6 +71,7 @@
name: "libadb_pairing_auth",
defaults: ["libadb_pairing_auth_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
],
diff --git a/pairing_connection/Android.bp b/pairing_connection/Android.bp
index 3c5b0a3..3557810 100644
--- a/pairing_connection/Android.bp
+++ b/pairing_connection/Android.bp
@@ -81,6 +81,7 @@
name: "libadb_pairing_connection",
defaults: ["libadb_pairing_connection_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
],
@@ -163,6 +164,7 @@
name: "libadb_pairing_server",
defaults: ["libadb_pairing_server_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
],
diff --git a/proto/Android.bp b/proto/Android.bp
index c7271fb..fae321f 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -65,6 +65,7 @@
name: "libadb_protos",
defaults: ["libadb_protos_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
"test_com.android.adbd",
@@ -121,6 +122,7 @@
name: "libapp_processes_protos_lite",
defaults: ["libapp_processes_protos_defaults"],
+ min_sdk_version: "30",
apex_available: ["//apex_available:platform"],
proto: {
diff --git a/tls/Android.bp b/tls/Android.bp
index 9e850ab..b45fc8d 100644
--- a/tls/Android.bp
+++ b/tls/Android.bp
@@ -64,6 +64,7 @@
name: "libadb_tls_connection",
defaults: ["libadb_tls_connection_defaults"],
+ min_sdk_version: "30",
apex_available: [
"com.android.adbd",
"test_com.android.adbd",