• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "android.hidl.allocator@1.0",
19        "libhidlmemory",
20        "libhidlbase",
21        "liblog",
22        "libmediandk",
23    ],
24
25    header_libs: [
26        "libbase_headers",
27        "libstagefright_headers",
28        "libmedia_headers",
29    ],
30
31    static_libs: [
32        "libcrypto",
33        "libstagefright_foundation_without_imemory",
34        "libstagefright_mpeg2support",
35        "libutils",
36        "libstagefright_mpeg2extractor",
37        "libstagefright_esds",
38    ],
39
40    name: "libmpeg2extractor",
41    relative_install_path: "extractors",
42
43    compile_multilib: "first",
44
45    cflags: [
46        "-Werror",
47        "-Wall",
48        "-fvisibility=hidden",
49    ],
50    version_script: "exports.lds",
51
52    sanitize: {
53        cfi: true,
54        misc_undefined: [
55            "unsigned-integer-overflow",
56            "signed-integer-overflow",
57        ],
58    },
59
60}
61