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 | |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 10 | cc_library_headers { |
| 11 | name: "libmedia_helper_headers", |
| 12 | vendor_available: true, |
Jooyung Han | e3cf41a | 2020-04-30 04:22:22 +0900 | [diff] [blame] | 13 | min_sdk_version: "29", |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 14 | export_include_dirs: ["include"], |
S Vasudev Prasad | 8b2d902 | 2020-03-11 17:10:13 +0530 | [diff] [blame] | 15 | host_supported: true, |
| 16 | target: { |
| 17 | darwin: { |
| 18 | enabled: false, |
| 19 | }, |
| 20 | }, |
Ytai Ben-Tsvi | 50e016a | 2020-11-12 14:26:12 -0800 | [diff] [blame] | 21 | apex_available: [ |
| 22 | "//apex_available:platform", |
William Escande | 62185e8 | 2022-08-22 11:27:57 -0700 | [diff] [blame] | 23 | "com.android.btservices", |
Ytai Ben-Tsvi | 50e016a | 2020-11-12 14:26:12 -0800 | [diff] [blame] | 24 | "com.android.media", |
| 25 | "com.android.media.swcodec", |
| 26 | ], |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | cc_library { |
| 30 | name: "libmedia_helper", |
| 31 | vendor_available: true, |
Colin Cross | c25e2bf | 2022-02-14 15:17:20 -0800 | [diff] [blame] | 32 | min_sdk_version: "29", |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 33 | double_loadable: true, |
Eric Laurent | 4dacbc3 | 2020-10-07 13:48:21 -0700 | [diff] [blame] | 34 | srcs: [ |
| 35 | "AudioParameter.cpp", |
jiabin | 78b761d | 2020-11-25 09:15:38 -0800 | [diff] [blame] | 36 | "AudioValidator.cpp", |
Eric Laurent | 4dacbc3 | 2020-10-07 13:48:21 -0700 | [diff] [blame] | 37 | "TypeConverter.cpp", |
| 38 | ], |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 39 | cflags: [ |
| 40 | "-Werror", |
| 41 | "-Wextra", |
| 42 | "-Wall", |
| 43 | ], |
Alix | 7e24ee1 | 2022-04-18 04:05:14 +0000 | [diff] [blame] | 44 | shared_libs: [ |
| 45 | "libutils", |
| 46 | "liblog", |
| 47 | ], |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 48 | header_libs: [ |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 49 | "libaudio_system_headers", |
Mikhail Naganov | ccc8211 | 2023-04-27 18:14:15 -0700 | [diff] [blame] | 50 | "libhardware_headers", |
| 51 | "libmedia_helper_headers", |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 52 | ], |
| 53 | export_header_lib_headers: [ |
| 54 | "libmedia_helper_headers", |
| 55 | ], |
Alix | 7e24ee1 | 2022-04-18 04:05:14 +0000 | [diff] [blame] | 56 | |
S Vasudev Prasad | 8b2d902 | 2020-03-11 17:10:13 +0530 | [diff] [blame] | 57 | host_supported: true, |
| 58 | target: { |
| 59 | darwin: { |
| 60 | enabled: false, |
| 61 | }, |
| 62 | }, |
Colin Cross | c25e2bf | 2022-02-14 15:17:20 -0800 | [diff] [blame] | 63 | apex_available: [ |
| 64 | "//apex_available:platform", |
| 65 | "com.android.media", |
| 66 | "test_com.android.media", |
| 67 | ], |
jiabin | 8d75228 | 2019-10-18 15:49:48 -0700 | [diff] [blame] | 68 | } |