Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 1 | cc_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 Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 15 | "android.hardware.cas@1.0", |
| 16 | "android.hardware.cas.native@1.0", |
Dongwon Kang | f129a5f | 2017-10-06 14:59:14 -0700 | [diff] [blame] | 17 | "android.hidl.token@1.0-utils", |
| 18 | "libbinder", |
| 19 | "libcrypto", |
| 20 | "libcutils", |
| 21 | "libhidlbase", |
| 22 | "liblog", |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 23 | "libmediaextractor", |
Dongwon Kang | f129a5f | 2017-10-06 14:59:14 -0700 | [diff] [blame] | 24 | "libstagefright_foundation", |
| 25 | "libutils", |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 26 | ], |
| 27 | |
| 28 | static_libs: [ |
| 29 | "libstagefright_mpeg2support", |
| 30 | ], |
| 31 | |
| 32 | name: "libmpeg2extractor", |
| 33 | relative_install_path: "extractors", |
| 34 | |
| 35 | compile_multilib: "first", |
| 36 | |
| 37 | cflags: [ |
| 38 | "-Werror", |
| 39 | "-Wall", |
| 40 | "-fvisibility=hidden", |
| 41 | ], |
Marco Nelissen | 03bb4d5 | 2017-12-14 12:33:27 -0800 | [diff] [blame] | 42 | version_script: "exports.lds", |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 43 | |
| 44 | sanitize: { |
| 45 | cfi: true, |
| 46 | misc_undefined: [ |
| 47 | "unsigned-integer-overflow", |
| 48 | "signed-integer-overflow", |
| 49 | ], |
| 50 | diag: { |
| 51 | cfi: true, |
| 52 | }, |
| 53 | }, |
| 54 | |
| 55 | } |