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

Commit 19171797 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

libnbaio: Add libaudioutils headers export

Header files of libnbaio include files from audio_utils
yet the module did not export include path for those. This was
requiring modules depending on libnbaio[_mono] to add those
include paths into their build files.

Test: make
Change-Id: I8982e04db0f3646ce7945fb55529727766f2dfa1
parent 2255c50a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ LOCAL_C_INCLUDES := \
	frameworks/av/media/libaaudio/src \
	frameworks/av/media/libaaudio/src/binding \
	frameworks/av/media/libmedia \
	$(call include-path-for, audio-utils) \
	external/sonic \

# If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
+3 −3
Original line number Diff line number Diff line

cc_defaults {
    name: "libnbaio_mono_defaults",
    srcs: [
@@ -21,6 +20,9 @@ cc_defaults {
        "liblog",
        "libutils",
    ],
    export_shared_lib_headers: [
        "libaudioutils",
    ],

    export_include_dirs: ["include_mono"],
}
@@ -66,7 +68,5 @@ cc_library_shared {
        "-Wall",
    ],

    include_dirs: ["system/media/audio_utils/include"],

    export_include_dirs: ["include"],
}