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

Commit a99040f7 authored by Yifan Hong's avatar Yifan Hong Committed by Lajos Molnar
Browse files

libstagefright_foundation: Add libbinder_headers.

For the APEX / vendor variant, libbinder is intentionally excluded.
However, compiling MediaBuffer.cpp etc. still requires headers from
libbinder. Hence, include libbinder_headers for all variants
(core, apex, vendor, etc.).

Test: builds
Bug: 186266747
Change-Id: I0164d70f2e99d3527fa117d6ba57189d6d224040
parent c9c79ff6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -45,6 +45,9 @@ cc_defaults {
    ],

    header_libs: [
        // this is only needed for the vendor variant that removes libbinder, but vendor
        // target below does not allow adding header_libs.
        "libbinder_headers",
        "libstagefright_foundation_headers",
        "media_ndk_headers",
        "media_plugin_headers",
@@ -98,6 +101,7 @@ cc_defaults {

    target: {
        vendor: {
            // TODO: add libbinder_headers here instead of above when it becomes supported
            exclude_shared_libs: [
                "libbinder",
            ],