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

Commit 6df7f5f7 authored by Jiyong Park's avatar Jiyong Park
Browse files

Don't re-export libbinder headers from libstagefright_foundation

The headers of libstagefright_foundation do not reference libbinder
headers. Therefore, the libbinder headers don't need to be re-exported.

As a good side effect, libbinder is no longer built for
com.android.media APEX where libstagefright_foundation is a member of.
Before this change, due to the re-export of headers, the media APEX
variant of libbinder had to be created.

Also, this is a partial cherry-pick of Ieb731a8112b1f3bdc6862059671e8a9dd31d88e1
from the internal master.

Bug: 147671264
Test: m
Merged-In: Id16054593487f042fba6e46b114da52439e98e07
(cherry picked from commit a959536b)
Change-Id: Id16054593487f042fba6e46b114da52439e98e07
parent e6b6db59
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ cc_library {
    ],

    header_libs: [
        "libbinder_headers",
        "libsystem_headers",
        "libcodec2_internal", // private
    ],
+1 −0
Original line number Diff line number Diff line
@@ -21,4 +21,5 @@ cc_library_shared {
    },

    shared_libs: ["libvpx"],
    header_libs: ["libbase_headers"],
}
+0 −4
Original line number Diff line number Diff line
@@ -34,10 +34,6 @@ cc_defaults {
        "media_plugin_headers",
    ],

    export_shared_lib_headers: [
        "libbinder",
    ],

    cflags: [
        "-Wno-multichar",
        "-Werror",