diff --git a/logcat/Android.bp b/logcat/Android.bp index b0563a64c..0543aba73 100644 --- a/logcat/Android.bp +++ b/logcat/Android.bp @@ -25,9 +25,9 @@ cc_defaults { shared_libs: [ "libbase", "libcutils", - "liblog", "libpcrecpp", ], + static_libs: ["liblog"], logtags: ["event.logtags"], } diff --git a/logcat/tests/Android.bp b/logcat/tests/Android.bp index e1f4d6f75..ab84150d5 100644 --- a/logcat/tests/Android.bp +++ b/logcat/tests/Android.bp @@ -48,10 +48,8 @@ cc_benchmark { cc_test { name: "logcat-unit-tests", defaults: ["logcat-tests-defaults"], - shared_libs: [ - "liblog", - "libbase", - ], + shared_libs: ["libbase"], + static_libs: ["liblog"], srcs: [ "logcat_test.cpp", "logcatd_test.cpp", diff --git a/logd/Android.bp b/logd/Android.bp index 5c79976a3..3abfc2171 100644 --- a/logd/Android.bp +++ b/logd/Android.bp @@ -63,11 +63,13 @@ cc_binary { srcs: ["main.cpp"], - static_libs: ["liblogd"], + static_libs: [ + "liblog", + "liblogd", + ], shared_libs: [ "libsysutils", - "liblog", "libcutils", "libbase", "libpackagelistparser", diff --git a/logd/tests/Android.bp b/logd/tests/Android.bp index f15beb223..83a194f7e 100644 --- a/logd/tests/Android.bp +++ b/logd/tests/Android.bp @@ -38,9 +38,9 @@ cc_defaults { shared_libs: [ "libbase", "libcutils", - "liblog", "libselinux", ], + static_libs: ["liblog"], } // Build tests for the logger. Run with: