Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -576,7 +576,6 @@ cc_test {
        ":TestMockBtaVc",
        ":TestMockBtcore",
        ":TestMockBtu",
        ":TestMockFrameworks",
        ":TestMockHci",
        ":TestMockMainShim",
        ":TestMockStack",
@@ -589,8 +588,6 @@ cc_test {
    ],
    header_libs: ["libbluetooth_headers"],
    shared_libs: [
        "android.hardware.bluetooth.audio@2.0",
        "android.hardware.bluetooth.audio@2.1",
        "libbase",
        "libcrypto",
        "libcutils",
@@ -643,6 +640,9 @@ cc_test {
                "android.hardware.common.fmq-V1-ndk",
            ],
            shared_libs: [
                "android.hardware.bluetooth.audio@2.0",
                "android.hardware.bluetooth.audio@2.1",
                "libaaudio",
                "libbinder_ndk",
                "libstatssocket",
            ],
@@ -699,7 +699,6 @@ cc_test {
        ":TestMockBtaVc",
        ":TestMockBtcore",
        ":TestMockBtu",
        ":TestMockFrameworks",
        ":TestMockHci",
        ":TestMockMainShim",
        ":TestMockStack",
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ cc_defaults {
        ":BtaDmSources",
        ":TestCommonMockFunctions",
        ":TestMockAndroidHardware",
        ":TestMockFrameworks",
        ":TestMockHci",
        ":TestMockUdrv",
        "adapter/bluetooth_test.cc",
@@ -49,6 +48,7 @@ cc_defaults {
        "android.hardware.bluetooth.audio@2.1",
        "android.system.suspend-V1-ndk",
        "libPlatformProperties",
        "libaaudio",
        "libbinder",
        "libbinder_ndk",
        "libcrypto",