Merge "Add libadbd_auth to adbd's required list." am: 955601beb4
Change-Id: I0d2443f77cd44ec8766ba89ed6419cc7ea97504e
diff --git a/adb/Android.bp b/adb/Android.bp
index b3fe1ef..5073568 100644
--- a/adb/Android.bp
+++ b/adb/Android.bp
@@ -29,7 +29,6 @@
"-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION=1",
],
cpp_std: "experimental",
- stl: "libc++_static",
use_version_lib: true,
compile_multilib: "first",
@@ -325,6 +324,7 @@
cc_binary_host {
name: "adb",
+ stl: "libc++_static",
defaults: ["adb_defaults"],
srcs: [
@@ -542,6 +542,7 @@
cc_binary {
name: "adbd",
defaults: ["adbd_defaults", "host_adbd_supported"],
+ stl: "libc++_static",
recovery_available: true,
srcs: [
@@ -577,6 +578,8 @@
"libadbd_auth",
"libcrypto",
],
+
+ required: ["libadbd_auth"],
}
phony {
@@ -599,6 +602,7 @@
name: "abb",
defaults: ["adbd_defaults"],
+ stl: "libc++",
recovery_available: false,
srcs: [
@@ -631,7 +635,11 @@
cc_test {
name: "adbd_test",
+
defaults: ["adbd_defaults"],
+ stl: "libc++_static",
+
+ recovery_available: false,
srcs: libadb_test_srcs + [
"daemon/services.cpp",
"daemon/shell_service.cpp",