• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2011 The Android Open Source Project
2
3//AUDIO_POLICY_TEST := true
4//ENABLE_AUDIO_DUMP := true
5
6package {
7    // See: http://go/android-license-faq
8    // A large-scale-change added 'default_applicable_licenses' to import
9    // all of the 'license_kinds' from "hardware_libhardware_legacy_license"
10    // to get the below license kinds:
11    //   SPDX-license-identifier-Apache-2.0
12    default_applicable_licenses: ["hardware_libhardware_legacy_license"],
13}
14
15cc_library_static {
16
17    srcs: [
18        "AudioHardwareInterface.cpp",
19        "audio_hw_hal.cpp",
20    ],
21
22    name: "libaudiohw_legacy",
23    static_libs: ["libmedia_helper"],
24    cflags: [
25        "-Wall",
26        "-Werror",
27        "-Wno-unused-parameter",
28        "-Wno-unused-variable",
29        "-Wno-gnu-designator",
30    ],
31
32    header_libs: [
33        "libaudioclient_headers",
34        "libbase_headers",
35        "libhardware_legacy_headers",
36    ],
37    export_header_lib_headers: ["libhardware_legacy_headers"],
38}
39