Andre Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 16 | cc_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 Watson | 6a7d622 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 22 | "bluetooth_address.cc", |
Andre Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 23 | "vendor_interface.cc", |
| 24 | ], |
| 25 | shared_libs: [ |
Myles Watson | 6a7d622 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 26 | "android.hardware.bluetooth@1.0", |
| 27 | "libbase", |
Andre Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 28 | "libcutils", |
| 29 | "libhardware", |
| 30 | "libhwbinder", |
Andre Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 31 | "libhidlbase", |
| 32 | "libhidltransport", |
Myles Watson | 6a7d622 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 33 | "liblog", |
| 34 | "libutils", |
| 35 | ], |
| 36 | } |
| 37 | |
| 38 | cc_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 Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 51 | ], |
| 52 | } |