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("vr/features.gni") | 5 import("vr/features.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") # For generate_jni(). | 10 import("//build/config/android/rules.gni") # For generate_jni(). |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", | 57 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", |
58 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", | 58 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", |
59 "bluetooth/test/mock_bluetooth_cbservice_mac.h", | 59 "bluetooth/test/mock_bluetooth_cbservice_mac.h", |
60 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", | 60 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", |
61 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 61 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
62 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 62 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
63 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 63 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
64 "bluetooth/test/test_bluetooth_adapter_observer.h", | 64 "bluetooth/test/test_bluetooth_adapter_observer.h", |
65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
66 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 66 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
| 67 "bluetooth/uribeacon/uri_encoder_unittest.cc", |
67 "gamepad/gamepad_provider_unittest.cc", | 68 "gamepad/gamepad_provider_unittest.cc", |
68 "gamepad/gamepad_service_unittest.cc", | 69 "gamepad/gamepad_service_unittest.cc", |
69 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", | 70 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", |
70 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", | 71 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", |
71 "generic_sensor/platform_sensor_provider_unittest.cc", | 72 "generic_sensor/platform_sensor_provider_unittest.cc", |
72 "sensors/data_fetcher_shared_memory_base_unittest.cc", | 73 "sensors/data_fetcher_shared_memory_base_unittest.cc", |
73 "sensors/sensor_manager_android_unittest.cc", | 74 "sensors/sensor_manager_android_unittest.cc", |
74 "sensors/sensor_manager_chromeos_unittest.cc", | 75 "sensors/sensor_manager_chromeos_unittest.cc", |
75 "test/run_all_unittests.cc", | 76 "test/run_all_unittests.cc", |
76 "u2f/u2f_apdu_unittest.cc", | 77 "u2f/u2f_apdu_unittest.cc", |
77 "u2f/u2f_message_unittest.cc", | 78 "u2f/u2f_message_unittest.cc", |
78 "wake_lock/wake_lock_service_context_unittest.cc", | 79 "wake_lock/wake_lock_service_context_unittest.cc", |
79 ] | 80 ] |
80 | 81 |
81 deps = [ | 82 deps = [ |
82 "//base/test:test_support", | 83 "//base/test:test_support", |
83 "//base/third_party/dynamic_annotations:dynamic_annotations", | 84 "//base/third_party/dynamic_annotations:dynamic_annotations", |
84 "//device/base/synchronization", | 85 "//device/base/synchronization", |
85 "//device/battery", | 86 "//device/battery", |
86 "//device/battery:mojo_bindings", | 87 "//device/battery:mojo_bindings", |
87 "//device/bluetooth", | 88 "//device/bluetooth", |
88 "//device/bluetooth:mocks", | 89 "//device/bluetooth:mocks", |
89 "//device/bluetooth:mojo", | 90 "//device/bluetooth:mojo", |
| 91 "//device/bluetooth/uribeacon", |
90 "//device/gamepad", | 92 "//device/gamepad", |
91 "//device/gamepad:test_helpers", | 93 "//device/gamepad:test_helpers", |
92 "//device/gamepad/public/interfaces", | 94 "//device/gamepad/public/interfaces", |
93 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", | 95 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", |
94 "//device/generic_sensor", | 96 "//device/generic_sensor", |
95 "//device/generic_sensor:testing", | 97 "//device/generic_sensor:testing", |
96 "//device/geolocation:unittests", | 98 "//device/geolocation:unittests", |
97 "//device/power_save_blocker", | 99 "//device/power_save_blocker", |
98 "//device/sensors", | 100 "//device/sensors", |
99 "//device/sensors/public/cpp:full", | 101 "//device/sensors/public/cpp:full", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 if (use_udev) { | 148 if (use_udev) { |
147 sources += [ "udev_linux/udev_unittest.cc" ] | 149 sources += [ "udev_linux/udev_unittest.cc" ] |
148 deps += [ "//device/udev_linux" ] | 150 deps += [ "//device/udev_linux" ] |
149 } | 151 } |
150 | 152 |
151 # USB does not compile on iOS. | 153 # USB does not compile on iOS. |
152 if (!is_ios) { | 154 if (!is_ios) { |
153 sources += [ | 155 sources += [ |
154 "test/test_device_client.cc", | 156 "test/test_device_client.cc", |
155 "test/test_device_client.h", | 157 "test/test_device_client.h", |
| 158 "test/usb_test_gadget.h", |
156 "test/usb_test_gadget_impl.cc", | 159 "test/usb_test_gadget_impl.cc", |
157 "usb/mojo/device_impl_unittest.cc", | 160 "usb/mojo/device_impl_unittest.cc", |
158 "usb/mojo/device_manager_impl_unittest.cc", | 161 "usb/mojo/device_manager_impl_unittest.cc", |
159 "usb/mojo/mock_permission_provider.cc", | 162 "usb/mojo/mock_permission_provider.cc", |
160 "usb/mojo/mock_permission_provider.h", | 163 "usb/mojo/mock_permission_provider.h", |
161 "usb/usb_descriptors_unittest.cc", | 164 "usb/usb_descriptors_unittest.cc", |
162 "usb/usb_device_filter_unittest.cc", | 165 "usb/usb_device_filter_unittest.cc", |
163 "usb/usb_device_handle_unittest.cc", | 166 "usb/usb_device_handle_unittest.cc", |
164 "usb/usb_ids_unittest.cc", | 167 "usb/usb_ids_unittest.cc", |
165 "usb/usb_service_unittest.cc", | 168 "usb/usb_service_unittest.cc", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 ] | 315 ] |
313 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 316 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
314 } | 317 } |
315 | 318 |
316 java_cpp_enum("bluetooth_test_javagen") { | 319 java_cpp_enum("bluetooth_test_javagen") { |
317 sources = [ | 320 sources = [ |
318 "bluetooth/test/bluetooth_test.h", | 321 "bluetooth/test/bluetooth_test.h", |
319 ] | 322 ] |
320 } | 323 } |
321 } | 324 } |
OLD | NEW |