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 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", | 54 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", |
55 "bluetooth/test/mock_bluetooth_cbservice_mac.h", | 55 "bluetooth/test/mock_bluetooth_cbservice_mac.h", |
56 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", | 56 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", |
57 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 57 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
58 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 58 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
59 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 59 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
60 "bluetooth/test/test_bluetooth_adapter_observer.h", | 60 "bluetooth/test/test_bluetooth_adapter_observer.h", |
61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
62 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 62 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
63 "gamepad/gamepad_provider_unittest.cc", | 63 "gamepad/gamepad_provider_unittest.cc", |
| 64 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", |
64 "generic_sensor/platform_sensor_provider_unittest.cc", | 65 "generic_sensor/platform_sensor_provider_unittest.cc", |
65 "test/run_all_unittests.cc", | 66 "test/run_all_unittests.cc", |
66 "wake_lock/wake_lock_service_context_unittest.cc", | 67 "wake_lock/wake_lock_service_context_unittest.cc", |
67 ] | 68 ] |
68 | 69 |
69 deps = [ | 70 deps = [ |
70 "//base/test:test_support", | 71 "//base/test:test_support", |
71 "//base/third_party/dynamic_annotations:dynamic_annotations", | 72 "//base/third_party/dynamic_annotations:dynamic_annotations", |
72 "//device/base/synchronization", | 73 "//device/base/synchronization", |
73 "//device/battery", | 74 "//device/battery", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 } | 214 } |
214 } | 215 } |
215 | 216 |
216 if (is_win) { | 217 if (is_win) { |
217 sources += [ | 218 sources += [ |
218 "bluetooth/bluetooth_classic_win_fake.cc", | 219 "bluetooth/bluetooth_classic_win_fake.cc", |
219 "bluetooth/bluetooth_classic_win_fake.h", | 220 "bluetooth/bluetooth_classic_win_fake.h", |
220 "bluetooth/bluetooth_low_energy_win_fake.cc", | 221 "bluetooth/bluetooth_low_energy_win_fake.cc", |
221 "bluetooth/bluetooth_low_energy_win_fake.h", | 222 "bluetooth/bluetooth_low_energy_win_fake.h", |
222 ] | 223 ] |
| 224 |
| 225 # Needed for "generic_sensor/platform_sensor_and_provider_unittest_win.cc" |
| 226 libs = [ "sensorsapi.lib" ] |
223 } | 227 } |
224 | 228 |
225 if (enable_webvr) { | 229 if (enable_webvr) { |
226 sources += [ | 230 sources += [ |
227 "vr/vr_device_manager_unittest.cc", | 231 "vr/vr_device_manager_unittest.cc", |
228 "vr/vr_service_impl_unittest.cc", | 232 "vr/vr_service_impl_unittest.cc", |
229 ] | 233 ] |
230 | 234 |
231 deps += [ | 235 deps += [ |
232 "//device/vr", | 236 "//device/vr", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 ] | 275 ] |
272 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 276 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
273 } | 277 } |
274 | 278 |
275 java_cpp_enum("bluetooth_test_javagen") { | 279 java_cpp_enum("bluetooth_test_javagen") { |
276 sources = [ | 280 sources = [ |
277 "bluetooth/test/bluetooth_test.h", | 281 "bluetooth/test/bluetooth_test.h", |
278 ] | 282 ] |
279 } | 283 } |
280 } | 284 } |
OLD | NEW |