1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_bt_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_bt_license"],
}
cc_defaults {
name: "audio_hearing_aid_hw_defaults",
defaults: ["libchrome_shared_support_defaults"],
include_dirs: [
"packages/modules/Bluetooth/system",
"packages/modules/Bluetooth/system/gd",
"packages/modules/Bluetooth/system/include",
"packages/modules/Bluetooth/system/types",
],
}
// Audio A2DP shared library for target
cc_library {
name: "audio.hearing_aid.default",
defaults: ["audio_hearing_aid_hw_defaults"],
relative_install_path: "hw",
srcs: [
"src/audio_hearing_aid_hw.cc",
"src/audio_hearing_aid_hw_utils.cc",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
shared_libs: [
"liblog",
],
static_libs: ["libosi"],
}
// Audio A2DP library unit tests for target and host
cc_test {
name: "net_test_audio_hearing_aid_hw",
test_suites: ["device-tests"],
defaults: [
"audio_hearing_aid_hw_defaults",
"mts_defaults",
],
srcs: [
"test/audio_hearing_aid_hw_test.cc",
],
shared_libs: [
"liblog",
],
static_libs: [
"audio.hearing_aid.default",
"libosi",
],
}
|