blob: b5867a6d143b1ea1dc6e5e94d6352bc3543baf3a [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
jiabin8d752282019-10-18 15:49:48 -070010cc_library_headers {
11 name: "libmedia_helper_headers",
12 vendor_available: true,
Jooyung Hane3cf41a2020-04-30 04:22:22 +090013 min_sdk_version: "29",
jiabin8d752282019-10-18 15:49:48 -070014 export_include_dirs: ["include"],
S Vasudev Prasad8b2d9022020-03-11 17:10:13 +053015 host_supported: true,
16 target: {
17 darwin: {
18 enabled: false,
19 },
20 },
Ytai Ben-Tsvi50e016a2020-11-12 14:26:12 -080021 apex_available: [
22 "//apex_available:platform",
William Escande62185e82022-08-22 11:27:57 -070023 "com.android.btservices",
Ytai Ben-Tsvi50e016a2020-11-12 14:26:12 -080024 "com.android.media",
25 "com.android.media.swcodec",
26 ],
jiabin8d752282019-10-18 15:49:48 -070027}
28
29cc_library {
30 name: "libmedia_helper",
31 vendor_available: true,
Colin Crossc25e2bf2022-02-14 15:17:20 -080032 min_sdk_version: "29",
jiabin8d752282019-10-18 15:49:48 -070033 double_loadable: true,
Eric Laurent4dacbc32020-10-07 13:48:21 -070034 srcs: [
35 "AudioParameter.cpp",
jiabin78b761d2020-11-25 09:15:38 -080036 "AudioValidator.cpp",
Eric Laurent4dacbc32020-10-07 13:48:21 -070037 "TypeConverter.cpp",
38 ],
jiabin8d752282019-10-18 15:49:48 -070039 cflags: [
40 "-Werror",
41 "-Wextra",
42 "-Wall",
43 ],
Alix7e24ee12022-04-18 04:05:14 +000044 shared_libs: [
45 "libutils",
46 "liblog",
47 ],
jiabin8d752282019-10-18 15:49:48 -070048 header_libs: [
jiabin8d752282019-10-18 15:49:48 -070049 "libaudio_system_headers",
Mikhail Naganovccc82112023-04-27 18:14:15 -070050 "libhardware_headers",
51 "libmedia_helper_headers",
jiabin8d752282019-10-18 15:49:48 -070052 ],
53 export_header_lib_headers: [
54 "libmedia_helper_headers",
55 ],
Alix7e24ee12022-04-18 04:05:14 +000056
S Vasudev Prasad8b2d9022020-03-11 17:10:13 +053057 host_supported: true,
58 target: {
59 darwin: {
60 enabled: false,
61 },
62 },
Colin Crossc25e2bf2022-02-14 15:17:20 -080063 apex_available: [
64 "//apex_available:platform",
65 "com.android.media",
66 "test_com.android.media",
67 ],
jiabin8d752282019-10-18 15:49:48 -070068}