Add libadbd_auth to adbd's required list.
It seems like we might not be tracking dependencies properly on
devices with flattened APEXes? Add libadbd_auth to adbd's required
list to work around this for now.
Bug: http://b/148812347
Test: `ls $ANDROID_PRODUCT_OUT/system/lib/libadbd_auth.so` before and after when building a go device
Change-Id: If60abeb00797e37bf6a5a037249a21877e0b3d26
diff --git a/adb/Android.bp b/adb/Android.bp
index f6a4f39..560e568 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",