summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@google.com>2017-01-31 12:20:44 -0800
committerMyles Watson <mylesgw@google.com>2017-01-31 12:20:44 -0800
commitb43a5b2435ee59020df2c9add06d736e4f8c016b (patch)
tree691caeb5a8a693ae26ade354d8b29f3fcae01b21
parent7d42dcad6ebae4f8c8769b3a235bff679724bb66 (diff)
downloadandroid_hardware_interfaces-b43a5b2435ee59020df2c9add06d736e4f8c016b.tar.gz
android_hardware_interfaces-b43a5b2435ee59020df2c9add06d736e4f8c016b.tar.bz2
android_hardware_interfaces-b43a5b2435ee59020df2c9add06d736e4f8c016b.zip
Bluetooth: Move AsyncFdWatcher tests to the device
Darwin builds were breaking. Test: compile, unit tests pass Change-Id: Ia00f590fe56211e25dff8d3138ebd93a306cf2c6
-rw-r--r--bluetooth/1.0/default/Android.bp17
1 files changed, 15 insertions, 2 deletions
diff --git a/bluetooth/1.0/default/Android.bp b/bluetooth/1.0/default/Android.bp
index a99cd9e21..4af079e46 100644
--- a/bluetooth/1.0/default/Android.bp
+++ b/bluetooth/1.0/default/Android.bp
@@ -35,12 +35,25 @@ cc_library_shared {
],
}
-cc_test_host {
+cc_test {
name: "bluetooth-vendor-interface-unit-tests",
srcs: [
"async_fd_watcher.cc",
- "bluetooth_address.cc",
"test/async_fd_watcher_unittest.cc",
+ ],
+ local_include_dirs: [
+ "test",
+ ],
+ shared_libs: [
+ "libbase",
+ "liblog",
+ ],
+}
+
+cc_test_host {
+ name: "bluetooth-address-unit-tests",
+ srcs: [
+ "bluetooth_address.cc",
"test/bluetooth_address_test.cc",
"test/properties.cc",
],