OSDN Git Service

Bluetooth: Move AsyncFdWatcher tests to the device
authorMyles Watson <mylesgw@google.com>
Tue, 31 Jan 2017 20:20:44 +0000 (12:20 -0800)
committerMyles Watson <mylesgw@google.com>
Tue, 31 Jan 2017 20:20:44 +0000 (12:20 -0800)
Darwin builds were breaking.

Test: compile, unit tests pass
Change-Id: Ia00f590fe56211e25dff8d3138ebd93a306cf2c6

bluetooth/1.0/default/Android.bp

index a99cd9e..4af079e 100644 (file)
@@ -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",
     ],