blob: 3bc75488ddb30d08e266a1ef1f89824ffe252dfb [file] [log] [blame]
Wonsik Kim7055d7f2022-12-09 10:56:05 -08001package {
2 default_applicable_licenses: ["frameworks_av_license"],
3}
4
5// DO NOT DEPEND ON THIS DIRECTLY
6// use libcodec2-aidl-client-defaults instead
7cc_library {
8 name: "libcodec2_aidl_client",
9
10 srcs: [
11 "ParamTypes.cpp",
12 ],
13
14 header_libs: [
Wonsik Kim7055d7f2022-12-09 10:56:05 -080015 "libcodec2_internal", // private
16 "libgui_headers",
17 ],
18
19 shared_libs: [
20 "android.hardware.media.bufferpool@2.0",
21 "android.hardware.media.c2-V1-ndk",
22 "libbinder_ndk",
23 "libbase",
24 "libcodec2",
Wonsik Kimab22b472022-12-13 17:28:36 -080025 "libcodec2_hal_common",
Wonsik Kim7055d7f2022-12-09 10:56:05 -080026 "libcodec2_vndk",
27 "libcutils",
28 "liblog",
29 "libnativewindow",
30 "libutils",
31 ],
32
33 export_include_dirs: [
34 "include",
35 ],
36
37 export_shared_lib_headers: [
38 "android.hardware.media.c2-V1-ndk",
39 "libcodec2",
Wonsik Kimab22b472022-12-13 17:28:36 -080040 "libcodec2_hal_common",
Wonsik Kim7055d7f2022-12-09 10:56:05 -080041 ],
42}
43
44// DO NOT DEPEND ON THIS DIRECTLY
45// use libcodec2-hidl-defaults instead
46//cc_library {
47// name: "libcodec2_hidl@1.0",
48// vendor_available: true,
49// min_sdk_version: "29",
50// apex_available: [
51// "//apex_available:platform",
52// "com.android.media.swcodec",
53// ],
54//
55// defaults: ["hidl_defaults"],
56//
57// srcs: [
58// "Component.cpp",
59// "ComponentInterface.cpp",
60// "ComponentStore.cpp",
61// "Configurable.cpp",
62// "InputBufferManager.cpp",
63// "InputSurface.cpp",
64// "InputSurfaceConnection.cpp",
65// "types.cpp",
66// ],
67//
68// header_libs: [
69// "libbinder_headers",
70// "libcodec2_hal_common",
71// "libcodec2_internal", // private
72// "libsystem_headers",
73// ],
74//
75// shared_libs: [
76// "android.hardware.graphics.bufferqueue@1.0",
77// "android.hardware.graphics.bufferqueue@2.0",
78// "android.hardware.graphics.common@1.0",
79// "android.hardware.media@1.0",
80// "android.hardware.media.bufferpool@2.0",
81// "android.hardware.media.c2@1.0",
82// "android.hardware.media.omx@1.0",
83// "libbase",
84// "libcodec2",
85// "libcodec2_vndk",
86// "libcodec2_hidl_plugin_stub",
87// "libcutils",
88// "libhidlbase",
89// "liblog",
90// "libstagefright_bufferpool@2.0.1",
91// "libstagefright_bufferqueue_helper_novndk",
92// "libui",
93// "libutils",
94// ],
95//
96// target: {
97// vendor: {
98// exclude_shared_libs: [
99// "libstagefright_bufferqueue_helper_novndk",
100// "libcodec2_hidl_plugin_stub",
101// ],
102// shared_libs: [
103// "libstagefright_bufferqueue_helper",
104// "libcodec2_hidl_plugin",
105// ],
106// },
107// apex: {
108// exclude_shared_libs: [
109// "libcodec2_hidl_plugin",
110// "libcodec2_hidl_plugin_stub",
111// ],
112// },
113// },
114//
115// export_include_dirs: [
116// "include",
117// ],
118//
119// export_shared_lib_headers: [
120// "android.hardware.media.c2@1.0",
121// "libcodec2",
122// "libcodec2_vndk",
123// "libhidlbase",
124// "libstagefright_bufferpool@2.0.1",
125// "libui",
126// ],
127//}
128//
129//// public dependency for Codec 2.0 HAL service implementations
130//cc_defaults {
131// name: "libcodec2-hidl-defaults@1.0",
132// defaults: ["libcodec2-impl-defaults"],
133//
134// shared_libs: [
135// "android.hardware.media.c2@1.0",
136// "libcodec2_hidl@1.0",
137// ],
138//}
139
140// public dependency for Codec 2.0 HAL client
141cc_defaults {
142 name: "libcodec2-aidl-client-defaults",
143 min_sdk_version: "34",
144 defaults: ["libcodec2-impl-defaults"],
145
146 shared_libs: [
147 "android.hardware.media.c2-V1-ndk",
148 "libcodec2_aidl_client",
149 ],
150}