blob: f32711db420494044540d33a9ca217cb17996511 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Ray Essickfa7b2ae2022-02-10 20:06:52 -080010cc_library_headers {
11 name: "libcodec2_client_headers",
12 export_include_dirs: ["include"],
13 vendor_available: true,
14 apex_available: [
15 "//apex_available:platform",
16 "com.android.media",
17 "com.android.media.swcodec",
18 ],
19 min_sdk_version: "29",
20 host_supported: true,
21 target: {
22 darwin: {
23 enabled: false,
24 },
25 },
26}
27
Pawin Vongmasa36653902018-11-15 00:10:25 -080028cc_library {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080029 name: "libcodec2_client",
Pawin Vongmasa36653902018-11-15 00:10:25 -080030
31 srcs: [
32 "client.cpp",
Sungtak Leea714f112021-03-16 05:40:03 -070033 "output.cpp",
34 ],
35
36 header_libs: [
37 "libcodec2_internal", // private
Pawin Vongmasa36653902018-11-15 00:10:25 -080038 ],
39
40 shared_libs: [
41 "android.hardware.graphics.bufferqueue@1.0",
Sungtak Leed3318082018-09-07 15:52:43 -070042 "android.hardware.media.bufferpool@2.0",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080043 "android.hardware.media.c2@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070044 "android.hardware.media.c2@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080045 "android.hardware.media.c2@1.2",
Pawin Vongmasa36653902018-11-15 00:10:25 -080046 "libbase",
47 "libbinder",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080048 "libcodec2",
Chong Zhangc8ce1d82019-03-27 10:18:38 -070049 "libcodec2_hidl_client@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070050 "libcodec2_hidl_client@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080051 "libcodec2_hidl_client@1.2",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080052 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080053 "libcutils",
54 "libgui",
55 "libhidlbase",
Pawin Vongmasa36653902018-11-15 00:10:25 -080056 "liblog",
Pawin Vongmasa329ac9c2019-09-09 21:28:05 -070057 "libstagefright_bufferpool@2.0.1",
Pawin Vongmasa36653902018-11-15 00:10:25 -080058 "libui",
59 "libutils",
60 ],
61
62 export_include_dirs: [
63 "include",
64 ],
65
66 export_shared_lib_headers: [
Pawin Vongmasabf69de92019-10-29 06:21:27 -070067 "android.hardware.media.c2@1.0",
68 "android.hardware.media.c2@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080069 "android.hardware.media.c2@1.2",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080070 "libcodec2",
Chong Zhangc8ce1d82019-03-27 10:18:38 -070071 "libcodec2_hidl_client@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070072 "libcodec2_hidl_client@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080073 "libcodec2_hidl_client@1.2",
Pawin Vongmasa270dd6a2019-04-06 04:41:15 -070074 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080075 ],
76
77}