blob: 4af079e46209ec11cb90f4f6e626a9c099e5a7e4 [file] [log] [blame]
Andre Eisenbach89ba5282016-10-13 15:45:02 -07001//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_library_shared {
17 name: "android.hardware.bluetooth@1.0-impl",
18 relative_install_path: "hw",
19 srcs: [
20 "async_fd_watcher.cc",
21 "bluetooth_hci.cc",
Myles Watson6a7d6222016-10-13 15:45:02 -070022 "bluetooth_address.cc",
Andre Eisenbach89ba5282016-10-13 15:45:02 -070023 "vendor_interface.cc",
24 ],
25 shared_libs: [
Myles Watson6a7d6222016-10-13 15:45:02 -070026 "android.hardware.bluetooth@1.0",
27 "libbase",
Andre Eisenbach89ba5282016-10-13 15:45:02 -070028 "libcutils",
29 "libhardware",
30 "libhwbinder",
Andre Eisenbach89ba5282016-10-13 15:45:02 -070031 "libhidlbase",
32 "libhidltransport",
Myles Watson6a7d6222016-10-13 15:45:02 -070033 "liblog",
34 "libutils",
35 ],
36}
37
Myles Watsonb43a5b22017-01-31 12:20:44 -080038cc_test {
Myles Watson6a7d6222016-10-13 15:45:02 -070039 name: "bluetooth-vendor-interface-unit-tests",
40 srcs: [
Myles Watson7d42dca2017-01-24 16:51:39 -080041 "async_fd_watcher.cc",
Myles Watson7d42dca2017-01-24 16:51:39 -080042 "test/async_fd_watcher_unittest.cc",
Myles Watsonb43a5b22017-01-31 12:20:44 -080043 ],
44 local_include_dirs: [
45 "test",
46 ],
47 shared_libs: [
48 "libbase",
49 "liblog",
50 ],
51}
52
53cc_test_host {
54 name: "bluetooth-address-unit-tests",
55 srcs: [
56 "bluetooth_address.cc",
Myles Watson6a7d6222016-10-13 15:45:02 -070057 "test/bluetooth_address_test.cc",
58 "test/properties.cc",
59 ],
60 local_include_dirs: [
61 "test",
62 ],
63 shared_libs: [
64 "libbase",
65 "liblog",
Andre Eisenbach89ba5282016-10-13 15:45:02 -070066 ],
67}