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

Commit a8a9cc66 authored by Steven Moreland's avatar Steven Moreland
Browse files

audio hal: explicitly import headers

Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I34983a5527a16e8e9f5a6a87edac0b741aeb67d6
parent ba2420a8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -43,6 +43,12 @@ LOCAL_SHARED_LIBRARIES := \
    android.hardware.audio.common@2.0 \
    android.hardware.audio.common@2.0-util \

LOCAL_HEADER_LIBRARIES := \
    libaudioclient_headers \
    libaudio_system_headers \
    libhardware_headers \
    libmedia_headers \

LOCAL_WHOLE_STATIC_LIBRARIES := libmedia_helper

include $(BUILD_SHARED_LIBRARY)
+5 −0
Original line number Diff line number Diff line
@@ -24,9 +24,14 @@ cc_library_shared {
    export_include_dirs: ["."],

    shared_libs: [
        "liblog",
        "libutils",
        "libhidlbase",
        "android.hardware.audio.common@2.0",
    ],

    header_libs: [
        "libaudio_system_headers",
        "libhardware_headers",
    ],
}
+7 −0
Original line number Diff line number Diff line
@@ -36,4 +36,11 @@ LOCAL_SHARED_LIBRARIES := \
    android.hardware.audio.effect@2.0 \
    android.hidl.memory@1.0 \

LOCAL_HEADER_LIBRARIES := \
    libaudio_system_headers \
    libaudioclient_headers \
    libeffects_headers \
    libhardware_headers \
    libmedia_headers \

include $(BUILD_SHARED_LIBRARY)