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

Commit 2e6a54ef 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: 182386024
Test: atest CtsMediaTestCases:android.media.cts.DecoderTest#testFlacIdentity
Test: atest CtsMediaTestCases:android.media.cts.DecoderTest#testDecodeFlac
Change-Id: I0e583100236bf3d68f46dbde275cf57b4d97c31d
parent cb4fc2b7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -42,11 +42,8 @@ cc_library {

    srcs: ["C2SoftFlacEnc.cpp"],

    shared_libs: [
        "libaudioutils",
    ],

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

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

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

    export_static_lib_headers: [