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

Commit 811108a2 authored by Ayushi Khopkar's avatar Ayushi Khopkar
Browse files

Added cc_defaults for decoder fuzzers

Added cc_defaults field for mpeg4_dec_fuzzer
and h263_dec_fuzzer

Test: ./mpeg4_dec_fuzzer
Test: ./h263_dec_fuzzer
Bug: 150440419

Change-Id: I92f232e99db847fb527ad5a3e40c62335057e1c6
parent d114c73e
Loading
Loading
Loading
Loading
+21 −28
Original line number Diff line number Diff line
@@ -18,25 +18,24 @@
 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
 */

cc_fuzz {
    name: "mpeg4_dec_fuzzer",
cc_defaults {
    name: "mpeg4_h263_dec_fuzz_defaults",

    host_supported: true,

    srcs: [
        "mpeg4_h263_dec_fuzzer.cpp",
    ],

    static_libs: [
        "libstagefright_m4vh263dec",
        "liblog",
    ],

    cflags: [
        "-DOSCL_IMPORT_REF=",
        "-DMPEG4",
    ],
    target: {
        darwin: {
            enabled: false,
        },
    },

    fuzz_config: {
        cc: [
            "android-media-fuzzing-reports@google.com",
@@ -46,29 +45,23 @@ cc_fuzz {
}

cc_fuzz {
    name: "h263_dec_fuzzer",
    host_supported: true,
    srcs: [
        "mpeg4_h263_dec_fuzzer.cpp",
    ],
    static_libs: [
        "libstagefright_m4vh263dec",
        "liblog",
    name: "mpeg4_dec_fuzzer",

    defaults: [
        "mpeg4_h263_dec_fuzz_defaults",
    ],

    cflags: [
        "-DOSCL_IMPORT_REF=",
        "-DMPEG4",
    ],
    target: {
        darwin: {
            enabled: false,
        },
    },
    fuzz_config: {
        cc: [
            "android-media-fuzzing-reports@google.com",
}

cc_fuzz {
    name: "h263_dec_fuzzer",

    defaults: [
        "mpeg4_h263_dec_fuzz_defaults",
    ],
        componentid: 155276,
    },
}

cc_defaults {