| 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 | "libmedia",  // Needed for IStreamListener | 
|  | 24 | "libmediaextractor", | 
|  | 25 | "libstagefright",  // Needed for AnotherPacketSource and more | 
| Dongwon Kang | f129a5f | 2017-10-06 14:59:14 -0700 | [diff] [blame] | 26 | "libstagefright_foundation", | 
|  | 27 | "libutils", | 
| Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 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 | } |