blob: 50f740b176bdffc56038cc0eec7c80cc2482bb43 [file] [log] [blame]
Marco Nelissen75226172016-11-16 14:10:52 -08001cc_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: [
Marco Nelissen75226172016-11-16 14:10:52 -080015 "android.hardware.cas@1.0",
16 "android.hardware.cas.native@1.0",
Dongwon Kangf129a5f2017-10-06 14:59:14 -070017 "android.hidl.token@1.0-utils",
18 "libbinder",
19 "libcrypto",
20 "libcutils",
21 "libhidlbase",
22 "liblog",
Dongwon Kangd91dc5a2017-10-10 00:07:09 -070023 "libmedia", // Needed for IStreamListener
24 "libmediaextractor",
25 "libstagefright", // Needed for AnotherPacketSource and more
Dongwon Kangf129a5f2017-10-06 14:59:14 -070026 "libstagefright_foundation",
27 "libutils",
Marco Nelissen75226172016-11-16 14:10:52 -080028 ],
29
30 static_libs: [
31 "libstagefright_mpeg2support",
32 ],
33
34 name: "libmpeg2extractor",
35 relative_install_path: "extractors",
36
37 compile_multilib: "first",
38
39 cflags: [
40 "-Werror",
41 "-Wall",
42 "-fvisibility=hidden",
43 ],
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}