blob: bbce57985989cf8326fea328fca28c2899852c18 [file] [log] [blame]
Bob Badour8117c2a2021-02-03 18:31:58 -08001package {
2 // http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // the below license kinds from "system_media_license":
5 // SPDX-license-identifier-Apache-2.0
6 default_applicable_licenses: ["system_media_license"],
7}
8
Steven Morelanda8345622017-04-13 19:06:39 -07009cc_library_headers {
10 name: "libaudio_system_headers",
11 host_supported: true,
Kevin Rocard0e586f42018-01-24 06:09:44 +000012 vendor_available: true,
Justin Yune1f7b8b2020-11-11 19:27:40 +090013 product_available: true,
Victor Khimenkob1d47bf2020-06-16 01:12:29 +020014 // TODO(b/153609531): remove when no longer needed.
15 native_bridge_supported: true,
Steven Moreland013d4a62017-04-17 18:25:21 -070016
17 header_libs: ["libcutils_headers"],
18 export_header_lib_headers: ["libcutils_headers"],
19
Steven Morelanda8345622017-04-13 19:06:39 -070020 export_include_dirs: ["include"],
21
22 target: {
23 linux_bionic: {
24 enabled: true,
25 },
26 windows: {
27 enabled: true,
28 },
Kevin Rocardf971c082018-02-23 10:01:56 -080029 vendor: {
Justin Yune1f7b8b2020-11-11 19:27:40 +090030 // product variant does not require this flag
Jiyong Parkdc6ccf72018-05-25 10:10:01 +090031 cflags: ["-DAUDIO_NO_SYSTEM_DECLARATIONS"],
Kevin Rocardf971c082018-02-23 10:01:56 -080032 },
Jooyung Hanb5eaeba2020-04-16 18:48:35 +090033 },
34 min_sdk_version: "29",
Ray Essick55781362022-01-26 09:22:55 -080035 apex_available: [
36 "//apex_available:platform",
37 "com.android.media",
38 "com.android.media.swcodec",
Roopa Sattiraju96aca0b2021-12-22 16:42:35 -080039 "com.android.bluetooth",
Ray Essick55781362022-01-26 09:22:55 -080040 ],
Steven Morelanda8345622017-04-13 19:06:39 -070041}
Mikhail Naganov60e89ab2020-01-28 17:27:25 -080042
43filegroup {
44 name: "libaudio_system_audio_base",
45 srcs: [
Mikhail Naganov08a82112020-11-10 21:32:24 +000046 "include/system/audio-hal-enums.h",
Mikhail Naganov60e89ab2020-01-28 17:27:25 -080047 ],
48 path: "include",
49}
Francois Gaffieb377ffd2021-02-03 10:14:16 +010050
51
52filegroup {
53 name: "libaudio_system_audio_common_base",
54 srcs: [
55 "include/system/audio_common-base.h",
56 ],
57 path: "include",
58}