1cc_defaults {
2    name: "libmp4extractor_defaults",
3
4    srcs: [
5        "AC4Parser.cpp",
6        "ItemTable.cpp",
7        "MPEG4Extractor.cpp",
8        "SampleIterator.cpp",
9        "SampleTable.cpp",
10    ],
11
12    include_dirs: [
13        "frameworks/av/media/libstagefright/",
14    ],
15
16    shared_libs: [
17        "liblog",
18        "libmediandk"
19    ],
20
21    static_libs: [
22        "libstagefright_esds",
23        "libstagefright_foundation",
24        "libstagefright_id3",
25        "libutils",
26    ],
27
28    cflags: [
29        "-Werror",
30        "-Wall",
31        "-fvisibility=hidden",
32    ],
33    version_script: "exports.lds",
34    relative_install_path: "extractors",
35    compile_multilib: "first",
36}
37
38cc_library_shared {
39
40
41    name: "libmp4extractor",
42    defaults: ["libmp4extractor_defaults"],
43
44    sanitize: {
45        cfi: true,
46        misc_undefined: [
47            "unsigned-integer-overflow",
48            "signed-integer-overflow",
49        ],
50    },
51
52}
53
54cc_library_static {
55    name: "libmp4extractor_fuzzing",
56
57    defaults: ["libmp4extractor_defaults"],
58}
59