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

Commit 6496137f authored by Ray Essick's avatar Ray Essick
Browse files

Flac codec link statically against libaudio_utils

Static linking avoids pulling in most of the library, along with the related
downstream dependencies that come with rest of the library.

Bug: 175515423
Test: atest CtsMediaTestCases:android.media.cts.DecoderTest#testFlacIdentity
Test: atest CtsMediaTestCases:android.media.cts.DecoderTest#testDecodeFlac
Change-Id: I0e583100236bf3d68f46dbde275cf57b4d97c31d
(cherry picked from commit 2e6a54ef)
parent 78a051bd
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -23,11 +23,8 @@ cc_library {

    srcs: ["C2SoftFlacEnc.cpp"],

    shared_libs: [
        "libaudioutils",
    ],

    static_libs: [
        "libFLAC",
        "libaudioutils",
    ],
}
+1 −1
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@ cc_library {
    },

    shared_libs: [
        "libaudioutils",
        "liblog",
    ],

    static_libs: [
        "libFLAC",
        "libaudioutils", // needed for 'float_from_i32'
    ],

    export_static_lib_headers: [