1package { 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 "system_bt_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["system_bt_license"], 8} 9 10cc_defaults { 11 name: "audio_hearing_aid_hw_defaults", 12 defaults: ["fluoride_defaults"], 13 include_dirs: [ 14 "system/bt", 15 ], 16} 17 18// Audio A2DP shared library for target 19// ======================================================== 20cc_library { 21 name: "audio.hearing_aid.default", 22 defaults: ["audio_hearing_aid_hw_defaults"], 23 relative_install_path: "hw", 24 srcs: [ 25 "src/audio_hearing_aid_hw.cc", 26 "src/audio_hearing_aid_hw_utils.cc", 27 ], 28 shared_libs: [ 29 "liblog", 30 ], 31 static_libs: ["libosi"], 32} 33 34// Audio A2DP library unit tests for target and host 35// ======================================================== 36cc_test { 37 name: "net_test_audio_hearing_aid_hw", 38 test_suites: ["device-tests"], 39 defaults: ["audio_hearing_aid_hw_defaults"], 40 srcs: [ 41 "test/audio_hearing_aid_hw_test.cc", 42 ], 43 shared_libs: [ 44 "liblog", 45 ], 46 static_libs: [ 47 "audio.hearing_aid.default", 48 "libosi", 49 ], 50} 51