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: [ |
| 15 | "libbinder", |
| 16 | "libstagefright", |
| 17 | "libmedia", |
| 18 | "libstagefright_foundation", |
| 19 | "libcutils", |
| 20 | "libutils", |
| 21 | "liblog", |
| 22 | "libcrypto", |
| 23 | "libmedia", |
| 24 | "libhidlbase", |
| 25 | "android.hidl.token@1.0-utils", |
| 26 | "android.hardware.cas@1.0", |
| 27 | "android.hardware.cas.native@1.0", |
| 28 | ], |
| 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 | } |