diff --git a/android/app/Android.bp b/android/app/Android.bp index c05562f219f7af32b0b69aa2e6d56c1f94334e4d..d9856d397c52f938e40164d17e0fe77523d1852e 100644 --- a/android/app/Android.bp +++ b/android/app/Android.bp @@ -115,6 +115,7 @@ cc_library_shared { "libcutils", "libfmq", "libhidlbase", + "liblog", "libnativehelper", "libstatssocket", "libutils", diff --git a/system/bta/Android.bp b/system/bta/Android.bp index 9e612c5255f2b912addb6a7cae6dfdd8ffc28673..62a53cfa9b3e99e98ee86484b92f8d26515fc583 100644 --- a/system/bta/Android.bp +++ b/system/bta/Android.bp @@ -441,6 +441,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "crypto_toolbox_for_tests", @@ -484,6 +485,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "crypto_toolbox_for_tests", @@ -538,6 +540,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "crypto_toolbox_for_tests", @@ -844,6 +847,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "libbt-common", @@ -906,6 +910,7 @@ cc_test { "libcrypto", "libfmq", "libhidlbase", + "liblog", ], static_libs: [ "libbt-audio-hal-interface", @@ -966,6 +971,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "crypto_toolbox_for_tests", @@ -1031,6 +1037,7 @@ cc_test { ], shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "crypto_toolbox_for_tests", diff --git a/system/btif/Android.bp b/system/btif/Android.bp index a8850a5314c2d971bd2c8ec975fb178ab28019dd..e7f7d9feeb80b00284416e04a1b092049581d099 100644 --- a/system/btif/Android.bp +++ b/system/btif/Android.bp @@ -265,6 +265,7 @@ cc_test { "libcutils", "libfmq", "libhidlbase", + "liblog", "libstatssocket", "libutils", ], @@ -347,6 +348,7 @@ cc_test { "libosi", ], cflags: ["-DBUILDCFG"], + shared_libs: ["liblog"], } // btif avrcp audio track unit tests @@ -379,6 +381,7 @@ cc_test { "libosi", ], cflags: ["-DBUILDCFG"], + shared_libs: ["liblog"], } // btif rc unit tests for target diff --git a/system/build/Android.bp b/system/build/Android.bp index 1b69f4a23c592172f2ba6d499d2cfc74e46ffa87..1c806f37b254235ac0044ced3d41773ef23a2081 100644 --- a/system/build/Android.bp +++ b/system/build/Android.bp @@ -71,9 +71,6 @@ cc_defaults { "libbt_shim_bridge", "libbt_shim_ffi", ], - shared_libs: [ - "liblog", - ], cpp_std: "c++17", min_sdk_version: "current", } diff --git a/system/common/Android.bp b/system/common/Android.bp index 0f463106062bbd2728b23cabd20696350981a918..3c6a803dca7b9f742a999babd3033fdf6e578728 100644 --- a/system/common/Android.bp +++ b/system/common/Android.bp @@ -81,6 +81,7 @@ cc_test { }, shared_libs: [ "libcrypto", + "liblog", ], static_libs: [ "libbt-common", diff --git a/system/packet/Android.bp b/system/packet/Android.bp index 2b806673287387dfd742f21d42ca5364d834ef3c..7b4bce1e47192793c092d00b2e9d291fc1f3786b 100644 --- a/system/packet/Android.bp +++ b/system/packet/Android.bp @@ -73,6 +73,7 @@ cc_test { "libbase", "libbinder_ndk", "libcrypto", + "liblog", ], static_libs: [ "lib-bt-packets", diff --git a/system/packet/tests/fuzzers/Android.bp b/system/packet/tests/fuzzers/Android.bp index ef196019eb1a37835d5b02b4d0e43b401d321cf9..a1f24ac94d12db06057e4cd3b4862c2043a2fd07 100644 --- a/system/packet/tests/fuzzers/Android.bp +++ b/system/packet/tests/fuzzers/Android.bp @@ -37,6 +37,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -70,6 +71,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -103,6 +105,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -136,6 +139,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -169,6 +173,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -202,6 +207,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -235,6 +241,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -268,6 +275,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -301,6 +309,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -334,6 +343,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -367,6 +377,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -400,6 +411,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -433,6 +445,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -466,6 +479,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -499,6 +513,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -532,6 +547,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -565,6 +581,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -598,6 +615,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -631,6 +649,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -664,6 +683,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -697,6 +717,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -730,6 +751,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -763,6 +785,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -796,6 +819,7 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } cc_fuzz { @@ -829,4 +853,5 @@ cc_fuzz { cflags: [ "-DBUILDCFG", ], + shared_libs: ["liblog"], } diff --git a/system/profile/sdp/Android.bp b/system/profile/sdp/Android.bp index 8bc5e1d1d0e8040a21b0351b0c6ad2cd44a0731b..b9efc1600c4eebfe403d74aeace4ea0925bf7fb0 100644 --- a/system/profile/sdp/Android.bp +++ b/system/profile/sdp/Android.bp @@ -49,4 +49,5 @@ cc_test { "libgmock", "sdp_service", ], + shared_libs: ["liblog"], } diff --git a/system/stack/Android.bp b/system/stack/Android.bp index da944404bab437ac3861008d26d032fd655b49d5..5d4b19d4b91c30e0775af8a297f462c05b0a8f16 100644 --- a/system/stack/Android.bp +++ b/system/stack/Android.bp @@ -24,6 +24,7 @@ cc_test_library { ], shared_libs: [ "libcutils", + "liblog", ], srcs: crypto_toolbox_srcs, } @@ -145,6 +146,9 @@ cc_library_static { "libldacBT_abr", "libldacBT_enc", ], + apex_available: [ + "com.android.btservices", + ], host_supported: true, min_sdk_version: "Tiramisu", } @@ -293,6 +297,9 @@ cc_library_static { "libPlatformProperties", "libcrypto", ], + apex_available: [ + "com.android.btservices", + ], host_supported: true, min_sdk_version: "Tiramisu", } @@ -320,6 +327,9 @@ cc_defaults { static_libs: [ "libchrome", ], + shared_libs: [ + "liblog", + ], target: { darwin: { enabled: false, diff --git a/system/types/Android.bp b/system/types/Android.bp index ba908c9f6c785dd8d3f109aa756c3328b7cd670c..c8c280b43d3edb504bdcab7b533da3e9d88deee8 100644 --- a/system/types/Android.bp +++ b/system/types/Android.bp @@ -79,4 +79,5 @@ cc_test { "test/class_of_device_unittest.cc", "test/raw_address_unittest.cc", ], + shared_libs: ["liblog"], }