blob: 1a2377cbda44a156e2a5cf252d945ee8dab8b9fa [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"],
Ray Essickfa7b2ae2022-02-10 20:06:52 -080013 min_sdk_version: "29",
14 host_supported: true,
15 target: {
16 darwin: {
17 enabled: false,
18 },
19 },
20}
21
Pawin Vongmasa36653902018-11-15 00:10:25 -080022cc_library {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080023 name: "libcodec2_client",
Pawin Vongmasa36653902018-11-15 00:10:25 -080024
25 srcs: [
26 "client.cpp",
Sungtak Leea714f112021-03-16 05:40:03 -070027 "output.cpp",
28 ],
29
30 header_libs: [
31 "libcodec2_internal", // private
Pawin Vongmasa36653902018-11-15 00:10:25 -080032 ],
33
34 shared_libs: [
35 "android.hardware.graphics.bufferqueue@1.0",
Sungtak Leed3318082018-09-07 15:52:43 -070036 "android.hardware.media.bufferpool@2.0",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080037 "android.hardware.media.c2@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070038 "android.hardware.media.c2@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080039 "android.hardware.media.c2@1.2",
Wonsik Kimc8fc2c32022-12-12 14:43:00 -080040 "android.hardware.media.c2-V1-ndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080041 "libbase",
42 "libbinder",
Wonsik Kimc8fc2c32022-12-12 14:43:00 -080043 "libbinder_ndk",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080044 "libcodec2",
Chong Zhangc8ce1d82019-03-27 10:18:38 -070045 "libcodec2_hidl_client@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070046 "libcodec2_hidl_client@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080047 "libcodec2_hidl_client@1.2",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080048 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080049 "libcutils",
50 "libgui",
51 "libhidlbase",
Pawin Vongmasa36653902018-11-15 00:10:25 -080052 "liblog",
Pawin Vongmasa329ac9c2019-09-09 21:28:05 -070053 "libstagefright_bufferpool@2.0.1",
Pawin Vongmasa36653902018-11-15 00:10:25 -080054 "libui",
55 "libutils",
56 ],
57
58 export_include_dirs: [
59 "include",
60 ],
61
62 export_shared_lib_headers: [
Pawin Vongmasabf69de92019-10-29 06:21:27 -070063 "android.hardware.media.c2@1.0",
64 "android.hardware.media.c2@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080065 "android.hardware.media.c2@1.2",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080066 "libcodec2",
Chong Zhangc8ce1d82019-03-27 10:18:38 -070067 "libcodec2_hidl_client@1.0",
Pawin Vongmasabf69de92019-10-29 06:21:27 -070068 "libcodec2_hidl_client@1.1",
Sungtak Lee8577dab2021-03-12 02:25:50 -080069 "libcodec2_hidl_client@1.2",
Pawin Vongmasa270dd6a2019-04-06 04:41:15 -070070 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080071 ],
72
73}