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

Commit c3d86f89 authored by Chong Zhang's avatar Chong Zhang
Browse files

Separate libstagefright_omx into two libs

Extract the part in libstagefright_omx that's the base
of all soft omx components into a separate lib,
libstagefright_omx_soft, and make the omx plugin libs
only depend on this lib and can be built more independently.

This way the bufferqueue/gui reference in omx server side
will be restricted to libstagefright_omx, which hosts
only OMX master and node instances.

Also remove unnecessary gui references in some soft plugins,
they don't have a real dependency on gui.

bug: 129272021

Change-Id: I81f789e44c4133579230bff0e0fd8633d349ecc4
parent 91ecf9f7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -29,12 +29,10 @@ cc_library_shared {

    static_libs: ["libFraunhoferAAC"],

    defaults: ["omx_soft_libs"],

    shared_libs: [
        "libstagefright_omx",
        "libstagefright_foundation",
        "libutils",
        "libcutils",
        "liblog",
    ],
    compile_multilib: "32",
}
+2 −6
Original line number Diff line number Diff line
@@ -26,11 +26,7 @@ cc_library_shared {

    static_libs: ["libFraunhoferAAC"],

    shared_libs: [
        "libstagefright_omx",
        "libstagefright_foundation",
        "libutils",
        "liblog",
    ],
    defaults: ["omx_soft_libs"],

    compile_multilib: "32",
}
+2 −4
Original line number Diff line number Diff line
@@ -101,11 +101,9 @@ cc_library_shared {
        "libstagefright_amrwbdec",
    ],

    defaults: ["omx_soft_libs"],

    shared_libs: [
        "libstagefright_omx",
        "libstagefright_foundation",
        "libutils",
        "liblog",
        "libstagefright_amrnb_common",
    ],
    compile_multilib: "32",
+2 −4
Original line number Diff line number Diff line
@@ -110,11 +110,9 @@ cc_library_shared {

    static_libs: ["libstagefright_amrnbenc"],

    defaults: ["omx_soft_libs"],

    shared_libs: [
        "libstagefright_omx",
        "libstagefright_foundation",
        "libutils",
        "liblog",
        "libstagefright_amrnb_common",
    ],
    compile_multilib: "32",
+2 −4
Original line number Diff line number Diff line
@@ -167,11 +167,9 @@ cc_library_shared {

    static_libs: ["libstagefright_amrwbenc"],

    defaults: ["omx_soft_libs"],

    shared_libs: [
        "libstagefright_omx",
        "libstagefright_foundation",
        "libutils",
        "liblog",
        "libstagefright_enc_common",
    ],
    compile_multilib: "32",
Loading