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

Commit 45c0bd40 authored by Cindy Zhou's avatar Cindy Zhou
Browse files

Enable cfi avc libraries

Bug: 158010610
Bug: 173497308
Test: ran atest DecoderConformanceTest, ImageReaderDecoderTest,
VideoDecoderPerfTest, VideoEncoderTest.  Compare the
before and after enabling CFI results since there was a number of tests
that were initially failing.

Change-Id: I6221016a7c5452180ca1cf4043a27b6fef05197a
parent 932a856c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ cc_library {
    defaults: [
        "libcodec2_soft-defaults",
        "libcodec2_soft_sanitize_signed-defaults",
        "libcodec2_soft_sanitize_cfi-defaults",
    ],

    static_libs: ["libavcdec"],
@@ -20,6 +21,7 @@ cc_library {
    defaults: [
        "libcodec2_soft-defaults",
        "libcodec2_soft_sanitize_signed-defaults",
        "libcodec2_soft_sanitize_cfi-defaults",
    ],

    static_libs: ["libavcenc"],
+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,12 @@ cc_library_shared {
            "signed-integer-overflow",
        ],
        cfi: true,
        diag: {
            cfi: true,
        },
        config: {
            cfi_assembly_support: true,
        },
    },

    ldflags: ["-Wl,-Bsymbolic"],
+6 −0
Original line number Diff line number Diff line
@@ -10,6 +10,12 @@ cc_library_shared {
            "signed-integer-overflow",
        ],
        cfi: true,
        diag: {
            cfi: true,
        },
        config: {
            cfi_assembly_support: true,
        },
    },

    cflags: [