diff --git a/system/bta/Android.bp b/system/bta/Android.bp
index f8224b60bf639f104f139c019acd7a9e58f1bb64..75285262b5192c551892861627903d6aad812329 100644
--- a/system/bta/Android.bp
+++ b/system/bta/Android.bp
@@ -388,8 +388,6 @@ cc_test {
         "test/bta_hf_client_security_test.cc",
     ],
     shared_libs: [
-        "android.hardware.bluetooth.audio@2.0",
-        "android.hardware.bluetooth.audio@2.1",
         "libcrypto",
         "libcutils",
         "liblog",