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", |
47 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 51 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
48 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 52 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
49 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 53 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
50 "bluetooth/test/test_bluetooth_adapter_observer.h", | 54 "bluetooth/test/test_bluetooth_adapter_observer.h", |
| 55 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
| 56 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
51 "nfc/nfc_chromeos_unittest.cc", | 57 "nfc/nfc_chromeos_unittest.cc", |
52 "nfc/nfc_ndef_record_unittest.cc", | 58 "nfc/nfc_ndef_record_unittest.cc", |
53 "test/run_all_unittests.cc", | 59 "test/run_all_unittests.cc", |
54 ] | 60 ] |
55 | 61 |
56 deps = [ | 62 deps = [ |
57 "//base/test:test_support", | 63 "//base/test:test_support", |
58 "//device/battery", | 64 "//device/battery", |
59 "//device/battery:mojo_bindings", | 65 "//device/battery:mojo_bindings", |
60 "//device/bluetooth", | 66 "//device/bluetooth", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 } | 213 } |
208 | 214 |
209 android_library("bluetooth_test_java") { | 215 android_library("bluetooth_test_java") { |
210 java_files = bluetooth_java_sources_needing_jni | 216 java_files = bluetooth_java_sources_needing_jni |
211 deps = [ | 217 deps = [ |
212 "//base:base_java", | 218 "//base:base_java", |
213 "//device/bluetooth:java", | 219 "//device/bluetooth:java", |
214 ] | 220 ] |
215 } | 221 } |
216 } | 222 } |
OLD | NEW |