1cc_library_shared {
2
3    srcs: [
4        "ExtractorBundle.cpp",
5        "MPEG2PSExtractor.cpp",
6        "MPEG2TSExtractor.cpp",
7    ],
8
9    include_dirs: [
10        "frameworks/av/media/libstagefright",
11        "frameworks/av/media/libstagefright/include",
12    ],
13
14    shared_libs: [
15        "android.hardware.cas@1.0",
16        "android.hardware.cas.native@1.0",
17        "android.hidl.token@1.0-utils",
18        "libbinder",
19        "libcrypto",
20        "libcutils",
21        "libhidlallocatorutils",
22        "libhidlbase",
23        "liblog",
24        "libmediaextractor",
25        "libstagefright_foundation",
26    ],
27
28    static_libs: [
29        "libstagefright_mpeg2support",
30        "libutils",
31    ],
32
33    name: "libmpeg2extractor",
34    relative_install_path: "extractors",
35
36    compile_multilib: "first",
37
38    cflags: [
39        "-Werror",
40        "-Wall",
41        "-fvisibility=hidden",
42    ],
43    version_script: "exports.lds",
44
45    sanitize: {
46        cfi: true,
47        misc_undefined: [
48            "unsigned-integer-overflow",
49            "signed-integer-overflow",
50        ],
51        diag: {
52            cfi: true,
53        },
54    },
55
56}
57