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"], |
| 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 Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 28 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 29 | name: "libcodec2_client", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | |
| 31 | srcs: [ |
| 32 | "client.cpp", |
Sungtak Lee | a714f11 | 2021-03-16 05:40:03 -0700 | [diff] [blame] | 33 | "output.cpp", |
| 34 | ], |
| 35 | |
| 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 | c8fc2c3 | 2022-12-12 14:43:00 -0800 | [diff] [blame^] | 46 | "android.hardware.media.c2-V1-ndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 47 | "libbase", |
| 48 | "libbinder", |
Wonsik Kim | c8fc2c3 | 2022-12-12 14:43:00 -0800 | [diff] [blame^] | 49 | "libbinder_ndk", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 50 | "libcodec2", |
Chong Zhang | c8ce1d8 | 2019-03-27 10:18:38 -0700 | [diff] [blame] | 51 | "libcodec2_hidl_client@1.0", |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 52 | "libcodec2_hidl_client@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 53 | "libcodec2_hidl_client@1.2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 54 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 55 | "libcutils", |
| 56 | "libgui", |
| 57 | "libhidlbase", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 58 | "liblog", |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 59 | "libstagefright_bufferpool@2.0.1", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 60 | "libui", |
| 61 | "libutils", |
| 62 | ], |
| 63 | |
| 64 | export_include_dirs: [ |
| 65 | "include", |
| 66 | ], |
| 67 | |
| 68 | export_shared_lib_headers: [ |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 69 | "android.hardware.media.c2@1.0", |
| 70 | "android.hardware.media.c2@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 71 | "android.hardware.media.c2@1.2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 72 | "libcodec2", |
Chong Zhang | c8ce1d8 | 2019-03-27 10:18:38 -0700 | [diff] [blame] | 73 | "libcodec2_hidl_client@1.0", |
Pawin Vongmasa | bf69de9 | 2019-10-29 06:21:27 -0700 | [diff] [blame] | 74 | "libcodec2_hidl_client@1.1", |
Sungtak Lee | 8577dab | 2021-03-12 02:25:50 -0800 | [diff] [blame] | 75 | "libcodec2_hidl_client@1.2", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 76 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 77 | ], |
| 78 | |
| 79 | } |