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 | |
Myles Watson | b43a5b2 | 2017-01-31 12:20:44 -0800 | [diff] [blame] | 38 | cc_test { |
Myles Watson | 6a7d622 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 39 | name: "bluetooth-vendor-interface-unit-tests", |
| 40 | srcs: [ |
Myles Watson | 7d42dca | 2017-01-24 16:51:39 -0800 | [diff] [blame] | 41 | "async_fd_watcher.cc", |
Myles Watson | 7d42dca | 2017-01-24 16:51:39 -0800 | [diff] [blame] | 42 | "test/async_fd_watcher_unittest.cc", |
Myles Watson | b43a5b2 | 2017-01-31 12:20:44 -0800 | [diff] [blame] | 43 | ], |
| 44 | local_include_dirs: [ |
| 45 | "test", |
| 46 | ], |
| 47 | shared_libs: [ |
| 48 | "libbase", |
| 49 | "liblog", |
| 50 | ], |
| 51 | } |
| 52 | |
| 53 | cc_test_host { |
| 54 | name: "bluetooth-address-unit-tests", |
| 55 | srcs: [ |
| 56 | "bluetooth_address.cc", |
Myles Watson | 6a7d622 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 57 | "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 Eisenbach | 89ba528 | 2016-10-13 15:45:02 -0700 | [diff] [blame] | 66 | ], |
| 67 | } |