Manisha Jajoo | be7e57f | 2019-11-22 10:18:54 +0530 | [diff] [blame] | 1 | cc_library { |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 2 | name: "libmpeg2extractor", |
| 3 | |
Ayushi Khopkar | 7606712 | 2020-05-26 20:31:58 +0530 | [diff] [blame^] | 4 | host_supported: true, |
| 5 | target: { |
| 6 | darwin: { |
| 7 | enabled: false, |
| 8 | }, |
| 9 | android: { |
| 10 | shared_libs: ["libvndksupport#29"], |
| 11 | }, |
| 12 | }, |
| 13 | |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 14 | defaults: ["extractor-defaults"], |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 15 | |
| 16 | srcs: [ |
| 17 | "ExtractorBundle.cpp", |
| 18 | "MPEG2PSExtractor.cpp", |
| 19 | "MPEG2TSExtractor.cpp", |
| 20 | ], |
| 21 | |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 22 | shared_libs: [ |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 23 | "libcgrouprc#29", |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 24 | ], |
| 25 | |
Chih-Hung Hsieh | ecb4969 | 2018-09-13 13:55:14 -0700 | [diff] [blame] | 26 | header_libs: [ |
Marco Nelissen | 53f78b6 | 2019-09-30 13:08:50 -0700 | [diff] [blame] | 27 | "libaudioclient_headers", |
Chih-Hung Hsieh | ecb4969 | 2018-09-13 13:55:14 -0700 | [diff] [blame] | 28 | "libbase_headers", |
Dongwon Kang | 175e991 | 2019-01-31 18:33:24 -0800 | [diff] [blame] | 29 | "libstagefright_headers", |
Ayushi Khopkar | 84de36f | 2020-05-22 21:35:23 +0530 | [diff] [blame] | 30 | "libmedia_datasource_headers", |
Chih-Hung Hsieh | ecb4969 | 2018-09-13 13:55:14 -0700 | [diff] [blame] | 31 | ], |
| 32 | |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 33 | static_libs: [ |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 34 | "android.hardware.cas@1.0", |
| 35 | "android.hardware.cas.native@1.0", |
| 36 | "android.hidl.allocator@1.0", |
| 37 | "android.hidl.memory@1.0", |
| 38 | "android.hidl.token@1.0", |
| 39 | "android.hidl.token@1.0-utils", |
| 40 | "libbase", |
| 41 | "libcutils", |
| 42 | "libhidlbase", |
| 43 | "libhidlmemory", |
| 44 | "libjsoncpp", |
| 45 | "libprocessgroup", |
| 46 | "libstagefright_esds", |
Marco Nelissen | 54c8809 | 2019-01-11 14:06:15 -0800 | [diff] [blame] | 47 | "libstagefright_foundation_without_imemory", |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 48 | "libstagefright_mpeg2extractor", |
Ayushi Khopkar | 86e363c | 2020-06-17 12:31:09 +0530 | [diff] [blame] | 49 | "libstagefright_mpeg2support_nocrypto", |
Marco Nelissen | 7f3f4c9 | 2018-03-30 09:35:04 -0700 | [diff] [blame] | 50 | "libutils", |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 51 | ], |
| 52 | |
Chong Zhang | 640b09c | 2020-01-14 12:24:12 -0800 | [diff] [blame] | 53 | apex_available: [ |
| 54 | "com.android.media", |
| 55 | "test_com.android.media", |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 56 | ], |
Marco Nelissen | 7522617 | 2016-11-16 14:10:52 -0800 | [diff] [blame] | 57 | } |