1package { 2 default_applicable_licenses: [ 3 "frameworks_av_media_extractors_mpeg2_license", 4 ], 5} 6 7// Added automatically by a large-scale-change 8// See: http://go/android-license-faq 9license { 10 name: "frameworks_av_media_extractors_mpeg2_license", 11 visibility: [":__subpackages__"], 12 license_kinds: [ 13 "SPDX-license-identifier-Apache-2.0", 14 ], 15 license_text: [ 16 "NOTICE", 17 ], 18} 19 20cc_library { 21 name: "libmpeg2extractor", 22 23 host_supported: true, 24 target: { 25 darwin: { 26 enabled: false, 27 }, 28 android: { 29 shared_libs: ["libvndksupport#29"], 30 }, 31 }, 32 33 defaults: ["extractor-defaults"], 34 35 srcs: [ 36 "ExtractorBundle.cpp", 37 "MPEG2PSExtractor.cpp", 38 "MPEG2TSExtractor.cpp", 39 ], 40 41 export_include_dirs: [ 42 "include", 43 ], 44 45 shared_libs: [ 46 "libbase", 47 "libutils", 48 ], 49 50 header_libs: [ 51 "libaudioclient_headers", 52 "libbase_headers", 53 "libstagefright_headers", 54 "libmedia_datasource_headers", 55 ], 56 57 static_libs: [ 58 "android.hardware.cas@1.0", 59 "android.hardware.cas.native@1.0", 60 "android.hidl.allocator@1.0", 61 "android.hidl.memory@1.0", 62 "android.hidl.token@1.0", 63 "android.hidl.token@1.0-utils", 64 "libcutils", 65 "libhidlbase", 66 "libhidlmemory", 67 "libmedia_helper", 68 "libstagefright_esds", 69 "libstagefright_foundation_without_imemory", 70 "libstagefright_mpeg2extractor", 71 "libstagefright_mpeg2support_nocrypto", 72 ], 73 74 apex_available: [ 75 "com.android.media", 76 "test_com.android.media", 77 ], 78 79 static: { 80 apex_available: [ 81 // Needed for unit tests 82 "//apex_available:platform", 83 ], 84 }, 85} 86