Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 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 Essick | fa7b2ae | 2022-02-10 20:06:52 -0800 | [diff] [blame] | 10 | cc_library_headers { |
| 11 | name: "libcodec2_client_headers", |
| 12 | export_include_dirs: ["include"], |
Ray Essick | fa7b2ae | 2022-02-10 20:06:52 -0800 | [diff] [blame] | 13 | min_sdk_version: "29", |
| 14 | host_supported: true, |
| 15 | target: { |
| 16 | darwin: { |
| 17 | enabled: false, |
| 18 | }, |
| 19 | }, |
| 20 | } |
| 21 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 22 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 23 | name: "libcodec2_client", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 24 | |
| 25 | srcs: [ |
Sungtak Lee | 0df96e2 | 2023-08-30 22:17:23 +0000 | [diff] [blame] | 26 | "GraphicBufferAllocator.cpp", |
Sungtak Lee | f075f71 | 2023-07-20 23:37:45 +0000 | [diff] [blame] | 27 | "GraphicsTracker.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 28 | "client.cpp", |
Sungtak Lee | a714f11 | 2021-03-16 05:40:03 -0700 | [diff] [blame] | 29 | "output.cpp", |
| 30 | ], |
| 31 | |
Wonsik Kim | 1caded0 | 2022-12-09 13:03:11 -0800 | [diff] [blame] | 32 | defaults: [ |
| 33 | "libcodec2-aidl-client-defaults", |
| 34 | ], |
| 35 | |
Sungtak Lee | a714f11 | 2021-03-16 05:40:03 -0700 | [diff] [blame] | 36 | header_libs: [ |
| 37 | "libcodec2_internal", // private |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 38 | ], |
| 39 | |
| 40 | shared_libs: [ |
| 41 | "android.hardware.graphics.bufferqueue@1.0", |
Sungtak Lee | d331808 | 2018-09-07 15:52:43 -0700 | [diff] [blame] | 42 | "android.hardware.media.bufferpool@2.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 43 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 44 | "android.hardware.media.c2@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 45 | "android.hardware.media.c2@1.2", |
Wonsik Kim | e8e9815 | 2022-12-16 16:04:17 -0800 | [diff] [blame] | 46 | "android.hardware.media.bufferpool2-V1-ndk", |
Wonsik Kim | c8fc2c3 | 2022-12-12 14:43:00 -0800 | [diff] [blame] | 47 | "android.hardware.media.c2-V1-ndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 | "libbase", |
| 49 | "libbinder", |
Wonsik Kim | c8fc2c3 | 2022-12-12 14:43:00 -0800 | [diff] [blame] | 50 | "libbinder_ndk", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 51 | "libcodec2", |
Chong Zhang | c8ce1d8 | 2019-03-27 10:18:38 -0700 | [diff] [blame] | 52 | "libcodec2_hidl_client@1.0", |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 53 | "libcodec2_hidl_client@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 54 | "libcodec2_hidl_client@1.2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 55 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 56 | "libcutils", |
| 57 | "libgui", |
| 58 | "libhidlbase", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 59 | "liblog", |
Sungtak Lee | f075f71 | 2023-07-20 23:37:45 +0000 | [diff] [blame] | 60 | "libnativewindow", |
Wonsik Kim | e8e9815 | 2022-12-16 16:04:17 -0800 | [diff] [blame] | 61 | "libstagefright_aidl_bufferpool2", |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 62 | "libstagefright_bufferpool@2.0.1", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 63 | "libui", |
| 64 | "libutils", |
| 65 | ], |
| 66 | |
Wonsik Kim | e8e9815 | 2022-12-16 16:04:17 -0800 | [diff] [blame] | 67 | static_libs: [ |
| 68 | "libaidlcommonsupport", |
| 69 | ], |
| 70 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 71 | export_include_dirs: [ |
| 72 | "include", |
| 73 | ], |
| 74 | |
| 75 | export_shared_lib_headers: [ |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 76 | "android.hardware.media.c2@1.0", |
| 77 | "android.hardware.media.c2@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 78 | "android.hardware.media.c2@1.2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 79 | "libcodec2", |
Chong Zhang | c8ce1d8 | 2019-03-27 10:18:38 -0700 | [diff] [blame] | 80 | "libcodec2_hidl_client@1.0", |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 81 | "libcodec2_hidl_client@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 82 | "libcodec2_hidl_client@1.2", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 83 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 84 | ], |
| 85 | |
| 86 | } |