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

Commit 075842e4 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Update Spatialization and HeadTracking AIDL usage" into main

parents e4253d8f 0dc9dcca
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -55,7 +55,12 @@ java_library {

cc_library_shared {
    name: "libbluetooth_jni",
    defaults: ["fluoride_defaults"],
    defaults: [
        "fluoride_defaults",
        "latest_android_hardware_audio_common_ndk_static",
        "latest_android_hardware_bluetooth_audio_ndk_static",
        "latest_android_media_audio_common_types_ndk_static",
    ],
    srcs: ["jni/**/*.cpp"],
    version_script: "libbluetooth_jni.map",
    header_libs: [
@@ -77,16 +82,13 @@ cc_library_shared {
    // is required to maintain FIPS compliance.
    stl: "libc++_static",
    static_libs: [
        "android.hardware.audio.common-V2-ndk",
        "android.hardware.audio.common@5.0",
        "android.hardware.bluetooth.audio-V3-ndk",
        "android.hardware.bluetooth.audio@2.0",
        "android.hardware.bluetooth.audio@2.1",
        "android.hardware.bluetooth@1.0",
        "android.hardware.bluetooth@1.1",
        "android.hardware.common-V2-ndk",
        "android.hardware.common.fmq-V1-ndk",
        "android.media.audio.common.types-V2-ndk",
        "android.system.suspend-V1-ndk",
        "android.system.suspend.control-V1-ndk",
        "avrcp-target-service",
+5 −3
Original line number Diff line number Diff line
@@ -20,7 +20,11 @@ cc_defaults {

cc_library_shared {
    name: "audio.bluetooth.default",
    defaults: ["audio_bluetooth_hw_defaults"],
    defaults: [
        "audio_bluetooth_hw_defaults",
        "latest_android_hardware_audio_common_ndk_shared",
        "latest_android_hardware_bluetooth_audio_ndk_shared",
    ],
    relative_install_path: "hw",
    proprietary: true,
    srcs: [
@@ -32,8 +36,6 @@ cc_library_shared {
    ],
    header_libs: ["libhardware_headers"],
    shared_libs: [
        "android.hardware.audio.common-V2-ndk",
        "android.hardware.bluetooth.audio-V3-ndk",
        "libaudioutils",
        "libbase",
        "libbinder_ndk",
+5 −3
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ cc_library_static {
    target: {
        android: {
            shared_libs: [
                "android.hardware.bluetooth.audio-V3-ndk",
                "android.hardware.bluetooth.audio-V4-ndk",
                "libbinder_ndk",
                "libfmq",
            ],
@@ -79,7 +79,10 @@ cc_library_static {
// Bluetooth Audio client interface library unit tests for target and host
cc_test {
    name: "bluetooth-test-audio-hal-interface",
    defaults: ["fluoride_defaults"],
    defaults: [
        "fluoride_defaults",
        "latest_android_hardware_bluetooth_audio_ndk_shared",
    ],
    include_dirs: [
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/gd",
@@ -89,7 +92,6 @@ cc_test {
        "hidl/client_interface_hidl_unittest.cc",
    ],
    shared_libs: [
        "android.hardware.bluetooth.audio-V3-ndk",
        "android.hardware.bluetooth.audio@2.0",
        "android.hardware.bluetooth.audio@2.1",
        "libbinder_ndk",
+3 −1
Original line number Diff line number Diff line
@@ -29,9 +29,11 @@ cc_defaults {
        "avrcp_headers",
        "libbluetooth_headers",
    ],
    defaults: [
        "latest_android_hardware_bluetooth_audio_ndk_shared",
    ],
    shared_libs: [
        "android.hardware.bluetooth.a2dp@1.0",
        "android.hardware.bluetooth.audio-V3-ndk",
        "android.hardware.bluetooth.audio@2.0",
        "android.hardware.bluetooth.audio@2.1",
        "android.hardware.bluetooth@1.0",
+9 −9
Original line number Diff line number Diff line
@@ -259,6 +259,9 @@ cc_test {
    defaults: [
        "bluetooth_gtest_x86_asan_workaround",
        "fluoride_defaults",
        "latest_android_hardware_audio_common_ndk_static",
        "latest_android_hardware_bluetooth_audio_ndk_static",
        "latest_android_media_audio_common_types_ndk_static",
        "mts_defaults",
    ],
    test_suites: ["general-tests"],
@@ -282,14 +285,11 @@ cc_test {
        "server_configurable_flags",
    ],
    static_libs: [
        "android.hardware.audio.common-V2-ndk",
        "android.hardware.bluetooth.a2dp@1.0",
        "android.hardware.bluetooth.audio-V3-ndk",
        "android.hardware.bluetooth@1.0",
        "android.hardware.bluetooth@1.1",
        "android.hardware.common-V2-ndk",
        "android.hardware.common.fmq-V1-ndk",
        "android.media.audio.common.types-V2-ndk",
        "android.system.suspend.control-V1-ndk",
        "libFraunhoferAAC",
        "libbluetooth-types",
@@ -541,6 +541,9 @@ cc_test {
    defaults: [
        "bluetooth_gtest_x86_asan_workaround",
        "fluoride_defaults",
        "latest_android_hardware_audio_common_ndk_static",
        "latest_android_hardware_bluetooth_audio_ndk_static",
        "latest_android_media_audio_common_types_ndk_static",
        "mts_defaults",
    ],
    test_suites: ["general-tests"],
@@ -654,11 +657,8 @@ cc_test {
    target: {
        android: {
            static_libs: [
                "android.hardware.audio.common-V2-ndk",
                "android.hardware.bluetooth.audio-V3-ndk",
                "android.hardware.common-V2-ndk",
                "android.hardware.common.fmq-V1-ndk",
                "android.media.audio.common.types-V2-ndk",
            ],
            shared_libs: [
                "libbinder_ndk",
@@ -680,6 +680,9 @@ cc_test {
    defaults: [
        "bluetooth_gtest_x86_asan_workaround",
        "fluoride_defaults",
        "latest_android_hardware_audio_common_ndk_static",
        "latest_android_hardware_bluetooth_audio_ndk_static",
        "latest_android_media_audio_common_types_ndk_static",
        "mts_defaults",
    ],
    test_suites: ["general-tests"],
@@ -792,11 +795,8 @@ cc_test {
    target: {
        android: {
            static_libs: [
                "android.hardware.audio.common-V2-ndk",
                "android.hardware.bluetooth.audio-V3-ndk",
                "android.hardware.common-V2-ndk",
                "android.hardware.common.fmq-V1-ndk",
                "android.media.audio.common.types-V2-ndk",
            ],
            shared_libs: [
                "libbinder_ndk",
Loading