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

Commit 97a2155b authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Remove libbinder dependency from libcodec2_vndk and libstagefright_foundation

- libstagefright_foundation: excluding Parcel related methods when building for vendor.
- libmedia_omx: moving MediaCodecList to libmedia.

Test: build.
Bug: 139201422
Change-Id: Ieb731a8112b1f3bdc6862059671e8a9dd31d88e1
parent 071c3c87
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
    ],
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ cc_library_shared {
        "android.hardware.graphics.mapper@3.0",
        "android.hardware.media.bufferpool@2.0",
        "libbase",
        "libbinder",
        "libcutils",
        "libdl",
        "libhardware",
+2 −2
Original line number Diff line number Diff line
@@ -60,10 +60,8 @@ cc_library_shared {
    srcs: [
        ":libmedia_omx_aidl",

        "IMediaCodecList.cpp",
        "IOMX.cpp",
        "MediaCodecBuffer.cpp",
        "MediaCodecInfo.cpp",
        "OMXBuffer.cpp",
        "omx/1.0/WGraphicBufferSource.cpp",
        "omx/1.0/WOmxBufferSource.cpp",
@@ -224,6 +222,7 @@ cc_library {
        "IDataSource.cpp",
        "BufferingSettings.cpp",
        "mediaplayer.cpp",
        "IMediaCodecList.cpp",
        "IMediaHTTPConnection.cpp",
        "IMediaHTTPService.cpp",
        "IMediaExtractor.cpp",
@@ -239,6 +238,7 @@ cc_library {
        "IResourceManagerClient.cpp",
        "IResourceManagerService.cpp",
        "IStreamSource.cpp",
        "MediaCodecInfo.cpp",
        "MediaUtils.cpp",
        "Metadata.cpp",
        "mediarecorder.cpp",
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ cc_library_shared {
    shared_libs: [
        "libgui",
        "liblog",
        "libmedia_omx",
        "libmedia",
        "libstagefright_foundation",
        "libui",
        "libutils",
+1 −0
Original line number Diff line number Diff line
@@ -21,4 +21,5 @@ cc_library_shared {
    },

    shared_libs: ["libvpx"],
    header_libs: ["libbase_headers"],
}
Loading