blob: 7e6247bc86fb3d93ce84cbe1501076067a7551bd [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
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
Manisha Jajoobe7e57f2019-11-22 10:18:54 +053020cc_library {
Chong Zhang2acd7442020-01-14 12:24:12 -080021 name: "libmpeg2extractor",
22
Ayushi Khopkar76067122020-05-26 20:31:58 +053023 host_supported: true,
24 target: {
25 darwin: {
26 enabled: false,
27 },
28 android: {
29 shared_libs: ["libvndksupport#29"],
30 },
31 },
32
Chong Zhang2acd7442020-01-14 12:24:12 -080033 defaults: ["extractor-defaults"],
Marco Nelissen75226172016-11-16 14:10:52 -080034
35 srcs: [
36 "ExtractorBundle.cpp",
37 "MPEG2PSExtractor.cpp",
38 "MPEG2TSExtractor.cpp",
39 ],
40
Marco Nelissen75226172016-11-16 14:10:52 -080041 shared_libs: [
Jooyung Hanfce3ecd2020-03-09 16:12:26 +090042 "libbase",
Dongwon Kang201efd72019-07-17 14:53:56 -070043 "libcgrouprc#29",
Marco Nelissen75226172016-11-16 14:10:52 -080044 ],
45
Chih-Hung Hsiehecb49692018-09-13 13:55:14 -070046 header_libs: [
Marco Nelissen5d05fbe2019-09-30 13:08:50 -070047 "libaudioclient_headers",
Chih-Hung Hsiehecb49692018-09-13 13:55:14 -070048 "libbase_headers",
Dongwon Kang175e9912019-01-31 18:33:24 -080049 "libstagefright_headers",
Ayushi Khopkar84de36f2020-05-22 21:35:23 +053050 "libmedia_datasource_headers",
Chih-Hung Hsiehecb49692018-09-13 13:55:14 -070051 ],
52
Marco Nelissen75226172016-11-16 14:10:52 -080053 static_libs: [
Dongwon Kang201efd72019-07-17 14:53:56 -070054 "android.hardware.cas@1.0",
55 "android.hardware.cas.native@1.0",
56 "android.hidl.allocator@1.0",
57 "android.hidl.memory@1.0",
58 "android.hidl.token@1.0",
59 "android.hidl.token@1.0-utils",
Dongwon Kang201efd72019-07-17 14:53:56 -070060 "libcutils",
61 "libhidlbase",
62 "libhidlmemory",
63 "libjsoncpp",
64 "libprocessgroup",
65 "libstagefright_esds",
Marco Nelissen54c88092019-01-11 14:06:15 -080066 "libstagefright_foundation_without_imemory",
Dongwon Kang201efd72019-07-17 14:53:56 -070067 "libstagefright_mpeg2extractor",
Ayushi Khopkar86e363c2020-06-17 12:31:09 +053068 "libstagefright_mpeg2support_nocrypto",
Marco Nelissen7f3f4c92018-03-30 09:35:04 -070069 "libutils",
Marco Nelissen75226172016-11-16 14:10:52 -080070 ],
71
Dongwon Kang201efd72019-07-17 14:53:56 -070072 apex_available: [
73 "com.android.media",
74 "test_com.android.media",
75 ],
Manisha Jajoo8821ced2020-01-07 10:00:40 +053076
77 static: {
78 apex_available: [
79 // Needed for unit tests
80 "//apex_available:platform",
81 ],
82 },
Marco Nelissen75226172016-11-16 14:10:52 -080083}