Change log libraries in tests to be statically linked
32-bit versions of the log libraries aren't flashed on the phone, so we
need to statically link them.
(cherry picked from commit d438af0a09866cdeeb9f4c0f17543a23be513998)
Test: build and run the 3 installd tests (32-bit and 64-bit)
Test: on walleye/bullhead
Merged-In: I06bea24c6c52ffdb34045449e0b40eb2ac146410
Change-Id: I06bea24c6c52ffdb34045449e0b40eb2ac146410
diff --git a/cmds/installd/tests/Android.bp b/cmds/installd/tests/Android.bp
index c6ebb24..89c11aa 100644
--- a/cmds/installd/tests/Android.bp
+++ b/cmds/installd/tests/Android.bp
@@ -6,13 +6,13 @@
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
- "liblog",
"libutils",
"libcutils",
],
static_libs: [
- "libinstalld",
"libdiskusage",
+ "libinstalld",
+ "liblog",
],
}
@@ -25,14 +25,14 @@
"libbase",
"libbinder",
"libcutils",
- "liblog",
- "liblogwrap",
"libselinux",
"libutils",
],
static_libs: [
- "libinstalld",
"libdiskusage",
+ "libinstalld",
+ "liblog",
+ "liblogwrap",
],
}
@@ -45,13 +45,13 @@
"libbase",
"libbinder",
"libcutils",
- "liblog",
- "liblogwrap",
"libselinux",
"libutils",
],
static_libs: [
- "libinstalld",
"libdiskusage",
+ "libinstalld",
+ "liblog",
+ "liblogwrap",
],
}