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

Commit ad549002 authored by jiabin's avatar jiabin
Browse files

Add export header lib headers to libaudiofoundation_headers.

Add libaudio_system_headers, libaudioclient_headers, libmedia_headers
to export_header_lib_headers for libaudiofoundation_headers so that
there is not needed to add header lib when using libaudiofoundation.

Test: make
Bug: 135621476
Change-Id: Iaa2c8046f9bce4b69398795e162d1ee39cece24b
Merged-In: Iaa2c8046f9bce4b69398795e162d1ee39cece24b
parent 0da24a38
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -2,6 +2,16 @@ cc_library_headers {
    name: "libaudiofoundation_headers",
    vendor_available: true,
    export_include_dirs: ["include"],
    header_libs: [
        "libaudio_system_headers",
        "libaudioclient_headers",
        "libmedia_headers",
    ],
    export_header_lib_headers: [
        "libaudio_system_headers",
        "libaudioclient_headers",
        "libmedia_headers",
    ],
}

cc_library_shared {
@@ -26,12 +36,12 @@ cc_library_shared {
    ],

    header_libs: [
        "libaudio_system_headers",
        "libaudioclient_headers",
        "libaudiofoundation_headers",
    ],

    export_header_lib_headers: ["libaudiofoundation_headers"],
    export_header_lib_headers: [
        "libaudiofoundation_headers",
    ],

    cflags: [
        "-Werror",