OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
10 } | 10 } |
11 | 11 |
12 if (is_mac) { | 12 if (is_mac) { |
13 import("//build/config/mac/mac_sdk.gni") | 13 import("//build/config/mac/mac_sdk.gni") |
14 } | 14 } |
15 | 15 |
16 is_linux_without_udev = is_linux && !use_udev | 16 is_linux_without_udev = is_linux && !use_udev |
17 is_linux_without_dbus = is_linux && !use_dbus | 17 is_linux_without_dbus = is_linux && !use_dbus |
18 | 18 |
19 test("device_unittests") { | 19 test("device_unittests") { |
20 sources = [ | 20 sources = [ |
21 "battery/battery_status_manager_win_unittest.cc", | 21 "battery/battery_status_manager_win_unittest.cc", |
22 "battery/battery_status_service_unittest.cc", | 22 "battery/battery_status_service_unittest.cc", |
23 "bluetooth/bluetooth_adapter_mac_unittest.mm", | 23 "bluetooth/bluetooth_adapter_mac_unittest.mm", |
24 "bluetooth/bluetooth_adapter_unittest.cc", | 24 "bluetooth/bluetooth_adapter_unittest.cc", |
25 "bluetooth/bluetooth_adapter_win_unittest.cc", | 25 "bluetooth/bluetooth_adapter_win_unittest.cc", |
26 "bluetooth/bluetooth_advertisement_unittest.cc", | 26 "bluetooth/bluetooth_advertisement_unittest.cc", |
27 "bluetooth/bluetooth_device_unittest.cc", | 27 "bluetooth/bluetooth_device_unittest.cc", |
28 "bluetooth/bluetooth_device_win_unittest.cc", | 28 "bluetooth/bluetooth_device_win_unittest.cc", |
29 "bluetooth/bluetooth_discovery_filter_unittest.cc", | 29 "bluetooth/bluetooth_discovery_filter_unittest.cc", |
| 30 "bluetooth/bluetooth_local_gatt_characteristic_unittest.cc", |
| 31 "bluetooth/bluetooth_local_gatt_descriptor_unittest.cc", |
30 "bluetooth/bluetooth_low_energy_win_unittest.cc", | 32 "bluetooth/bluetooth_low_energy_win_unittest.cc", |
31 "bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc", | 33 "bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc", |
32 "bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc", | 34 "bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc", |
33 "bluetooth/bluetooth_remote_gatt_service_unittest.cc", | 35 "bluetooth/bluetooth_remote_gatt_service_unittest.cc", |
34 "bluetooth/bluetooth_service_record_win_unittest.cc", | 36 "bluetooth/bluetooth_service_record_win_unittest.cc", |
35 "bluetooth/bluetooth_task_manager_win_unittest.cc", | 37 "bluetooth/bluetooth_task_manager_win_unittest.cc", |
36 "bluetooth/bluetooth_uuid_unittest.cc", | 38 "bluetooth/bluetooth_uuid_unittest.cc", |
| 39 "bluetooth/test/bluetooth_gatt_server_test.cc", |
| 40 "bluetooth/test/bluetooth_gatt_server_test.h", |
37 "bluetooth/test/bluetooth_test.cc", | 41 "bluetooth/test/bluetooth_test.cc", |
38 "bluetooth/test/bluetooth_test.h", | 42 "bluetooth/test/bluetooth_test.h", |
39 "bluetooth/test/bluetooth_test_android.cc", | 43 "bluetooth/test/bluetooth_test_android.cc", |
40 "bluetooth/test/bluetooth_test_android.h", | 44 "bluetooth/test/bluetooth_test_android.h", |
41 "bluetooth/test/bluetooth_test_mac.h", | 45 "bluetooth/test/bluetooth_test_mac.h", |
42 "bluetooth/test/bluetooth_test_mac.mm", | 46 "bluetooth/test/bluetooth_test_mac.mm", |
43 "bluetooth/test/bluetooth_test_win.cc", | 47 "bluetooth/test/bluetooth_test_win.cc", |
44 "bluetooth/test/bluetooth_test_win.h", | 48 "bluetooth/test/bluetooth_test_win.h", |
45 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", | 49 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", |
46 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", | 50 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 } | 210 } |
207 | 211 |
208 android_library("bluetooth_test_java") { | 212 android_library("bluetooth_test_java") { |
209 java_files = bluetooth_java_sources_needing_jni | 213 java_files = bluetooth_java_sources_needing_jni |
210 deps = [ | 214 deps = [ |
211 "//base:base_java", | 215 "//base:base_java", |
212 "//device/bluetooth:java", | 216 "//device/bluetooth:java", |
213 ] | 217 ] |
214 } | 218 } |
215 } | 219 } |
OLD | NEW |