Skip to content
Snippets Groups Projects
Commit bea1a9b5 authored by Chris Manton's avatar Chris Manton
Browse files

mock: Android targets link with libaaudio and not a mock

host targets should only link with a mock

Bug: 311795290
Test: atest net_test_btif_hh
Flat: EXEMPT, test infra only

Change-Id: I51be75074de03d09132cc38c07b11e768bb3f17a
parent 7fd173e6
No related branches found
No related tags found
No related merge requests found
...@@ -576,7 +576,6 @@ cc_test { ...@@ -576,7 +576,6 @@ cc_test {
":TestMockBtaVc", ":TestMockBtaVc",
":TestMockBtcore", ":TestMockBtcore",
":TestMockBtu", ":TestMockBtu",
":TestMockFrameworks",
":TestMockHci", ":TestMockHci",
":TestMockMainShim", ":TestMockMainShim",
":TestMockStack", ":TestMockStack",
...@@ -589,8 +588,6 @@ cc_test { ...@@ -589,8 +588,6 @@ cc_test {
], ],
header_libs: ["libbluetooth_headers"], header_libs: ["libbluetooth_headers"],
shared_libs: [ shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"android.hardware.bluetooth.audio@2.1",
"libbase", "libbase",
"libcrypto", "libcrypto",
"libcutils", "libcutils",
...@@ -643,6 +640,9 @@ cc_test { ...@@ -643,6 +640,9 @@ cc_test {
"android.hardware.common.fmq-V1-ndk", "android.hardware.common.fmq-V1-ndk",
], ],
shared_libs: [ shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"android.hardware.bluetooth.audio@2.1",
"libaaudio",
"libbinder_ndk", "libbinder_ndk",
"libstatssocket", "libstatssocket",
], ],
...@@ -699,7 +699,6 @@ cc_test { ...@@ -699,7 +699,6 @@ cc_test {
":TestMockBtaVc", ":TestMockBtaVc",
":TestMockBtcore", ":TestMockBtcore",
":TestMockBtu", ":TestMockBtu",
":TestMockFrameworks",
":TestMockHci", ":TestMockHci",
":TestMockMainShim", ":TestMockMainShim",
":TestMockStack", ":TestMockStack",
......
...@@ -39,7 +39,6 @@ cc_defaults { ...@@ -39,7 +39,6 @@ cc_defaults {
":BtaDmSources", ":BtaDmSources",
":TestCommonMockFunctions", ":TestCommonMockFunctions",
":TestMockAndroidHardware", ":TestMockAndroidHardware",
":TestMockFrameworks",
":TestMockHci", ":TestMockHci",
":TestMockUdrv", ":TestMockUdrv",
"adapter/bluetooth_test.cc", "adapter/bluetooth_test.cc",
...@@ -49,6 +48,7 @@ cc_defaults { ...@@ -49,6 +48,7 @@ cc_defaults {
"android.hardware.bluetooth.audio@2.1", "android.hardware.bluetooth.audio@2.1",
"android.system.suspend-V1-ndk", "android.system.suspend-V1-ndk",
"libPlatformProperties", "libPlatformProperties",
"libaaudio",
"libbinder", "libbinder",
"libbinder_ndk", "libbinder_ndk",
"libcrypto", "libcrypto",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment