blob: 9b54199d287c2715bad916a2efbb2eadc35e1807 [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",
23 "com.android.bluetooth.updatable",
24 "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,
32 vndk: {
33 enabled: true,
34 },
35 double_loadable: true,
Eric Laurent4dacbc32020-10-07 13:48:21 -070036 srcs: [
37 "AudioParameter.cpp",
jiabin78b761d2020-11-25 09:15:38 -080038 "AudioValidator.cpp",
Eric Laurent4dacbc32020-10-07 13:48:21 -070039 "TypeConverter.cpp",
40 ],
jiabin8d752282019-10-18 15:49:48 -070041 cflags: [
42 "-Werror",
43 "-Wextra",
44 "-Wall",
45 ],
46 shared_libs: ["libutils", "liblog"],
47 header_libs: [
48 "libmedia_helper_headers",
49 "libaudio_system_headers",
50 ],
51 export_header_lib_headers: [
52 "libmedia_helper_headers",
53 ],
54 clang: true,
S Vasudev Prasad8b2d9022020-03-11 17:10:13 +053055 host_supported: true,
56 target: {
57 darwin: {
58 enabled: false,
59 },
60 },
jiabin8d752282019-10-18 15:49:48 -070061}