blob: 32e5328a570da9aee0abfcb6545cc7a36f5205ac [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
38cc_test_host {
39 name: "bluetooth-vendor-interface-unit-tests",
40 srcs: [
41 "bluetooth_address.cc",
42 "test/bluetooth_address_test.cc",
43 "test/properties.cc",
44 ],
45 local_include_dirs: [
46 "test",
47 ],
48 shared_libs: [
49 "libbase",
50 "liblog",
Andre Eisenbach89ba5282016-10-13 15:45:02 -070051 ],
52}