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 | 17 |
18 test("device_unittests") { | 18 test("device_unittests") { |
19 sources = [ | 19 sources = [ |
| 20 "base/synchronization/one_writer_seqlock_unittest.cc", |
20 "battery/battery_status_manager_win_unittest.cc", | 21 "battery/battery_status_manager_win_unittest.cc", |
21 "battery/battery_status_service_unittest.cc", | 22 "battery/battery_status_service_unittest.cc", |
22 "bluetooth/bluetooth_adapter_mac_unittest.mm", | 23 "bluetooth/bluetooth_adapter_mac_unittest.mm", |
23 "bluetooth/bluetooth_adapter_unittest.cc", | 24 "bluetooth/bluetooth_adapter_unittest.cc", |
24 "bluetooth/bluetooth_adapter_win_unittest.cc", | 25 "bluetooth/bluetooth_adapter_win_unittest.cc", |
25 "bluetooth/bluetooth_advertisement_unittest.cc", | 26 "bluetooth/bluetooth_advertisement_unittest.cc", |
26 "bluetooth/bluetooth_device_unittest.cc", | 27 "bluetooth/bluetooth_device_unittest.cc", |
27 "bluetooth/bluetooth_device_win_unittest.cc", | 28 "bluetooth/bluetooth_device_win_unittest.cc", |
28 "bluetooth/bluetooth_discovery_filter_unittest.cc", | 29 "bluetooth/bluetooth_discovery_filter_unittest.cc", |
29 "bluetooth/bluetooth_local_gatt_characteristic_unittest.cc", | 30 "bluetooth/bluetooth_local_gatt_characteristic_unittest.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
59 "bluetooth/test/test_bluetooth_adapter_observer.h", | 60 "bluetooth/test/test_bluetooth_adapter_observer.h", |
60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 62 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
62 "gamepad/gamepad_provider_unittest.cc", | 63 "gamepad/gamepad_provider_unittest.cc", |
63 "generic_sensor/platform_sensor_provider_unittest.cc", | 64 "generic_sensor/platform_sensor_provider_unittest.cc", |
64 "test/run_all_unittests.cc", | 65 "test/run_all_unittests.cc", |
65 ] | 66 ] |
66 | 67 |
67 deps = [ | 68 deps = [ |
68 "//base/test:test_support", | 69 "//base/test:test_support", |
| 70 "//base/third_party/dynamic_annotations:dynamic_annotations", |
| 71 "//device/base/synchronization", |
69 "//device/battery", | 72 "//device/battery", |
70 "//device/battery:mojo_bindings", | 73 "//device/battery:mojo_bindings", |
71 "//device/bluetooth", | 74 "//device/bluetooth", |
72 "//device/bluetooth:mocks", | 75 "//device/bluetooth:mocks", |
73 "//device/gamepad", | 76 "//device/gamepad", |
74 "//device/gamepad:test_helpers", | 77 "//device/gamepad:test_helpers", |
75 "//device/generic_sensor", | 78 "//device/generic_sensor", |
76 "//device/generic_sensor:testing", | 79 "//device/generic_sensor:testing", |
77 "//device/geolocation:unittests", | 80 "//device/geolocation:unittests", |
78 "//device/power_save_blocker", | 81 "//device/power_save_blocker", |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 ] | 274 ] |
272 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 275 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
273 } | 276 } |
274 | 277 |
275 java_cpp_enum("bluetooth_test_javagen") { | 278 java_cpp_enum("bluetooth_test_javagen") { |
276 sources = [ | 279 sources = [ |
277 "bluetooth/test/bluetooth_test.h", | 280 "bluetooth/test/bluetooth_test.h", |
278 ] | 281 ] |
279 } | 282 } |
280 } | 283 } |
OLD | NEW |