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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "bluetooth/uribeacon/uri_encoder_unittest.cc", | 67 "bluetooth/uribeacon/uri_encoder_unittest.cc", |
68 "gamepad/gamepad_provider_unittest.cc", | 68 "gamepad/gamepad_provider_unittest.cc", |
69 "gamepad/gamepad_service_unittest.cc", | 69 "gamepad/gamepad_service_unittest.cc", |
70 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", | 70 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", |
71 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", | 71 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", |
72 "generic_sensor/platform_sensor_provider_unittest.cc", | 72 "generic_sensor/platform_sensor_provider_unittest.cc", |
73 "sensors/data_fetcher_shared_memory_base_unittest.cc", | 73 "sensors/data_fetcher_shared_memory_base_unittest.cc", |
74 "sensors/sensor_manager_android_unittest.cc", | 74 "sensors/sensor_manager_android_unittest.cc", |
75 "sensors/sensor_manager_chromeos_unittest.cc", | 75 "sensors/sensor_manager_chromeos_unittest.cc", |
76 "test/run_all_unittests.cc", | 76 "test/run_all_unittests.cc", |
| 77 "u2f/u2f_apdu_unittest.cc", |
| 78 "u2f/u2f_message_unittest.cc", |
77 ] | 79 ] |
78 | 80 |
79 deps = [ | 81 deps = [ |
80 "//base/test:test_support", | 82 "//base/test:test_support", |
81 "//base/third_party/dynamic_annotations:dynamic_annotations", | 83 "//base/third_party/dynamic_annotations:dynamic_annotations", |
82 "//device/base/synchronization", | 84 "//device/base/synchronization", |
83 "//device/battery", | 85 "//device/battery", |
84 "//device/battery:mojo_bindings", | 86 "//device/battery:mojo_bindings", |
85 "//device/bluetooth", | 87 "//device/bluetooth", |
86 "//device/bluetooth:mocks", | 88 "//device/bluetooth:mocks", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 # Linux, requires udev. | 127 # Linux, requires udev. |
126 if (!is_linux_without_udev && !is_android) { | 128 if (!is_linux_without_udev && !is_android) { |
127 sources += [ | 129 sources += [ |
128 "hid/hid_connection_unittest.cc", | 130 "hid/hid_connection_unittest.cc", |
129 "hid/hid_device_filter_unittest.cc", | 131 "hid/hid_device_filter_unittest.cc", |
130 "hid/hid_report_descriptor_unittest.cc", | 132 "hid/hid_report_descriptor_unittest.cc", |
131 "hid/input_service_linux_unittest.cc", | 133 "hid/input_service_linux_unittest.cc", |
132 "hid/test_report_descriptors.cc", | 134 "hid/test_report_descriptors.cc", |
133 "hid/test_report_descriptors.h", | 135 "hid/test_report_descriptors.h", |
134 "serial/serial_io_handler_posix_unittest.cc", | 136 "serial/serial_io_handler_posix_unittest.cc", |
135 "u2f/u2f_apdu_unittest.cc", | |
136 "u2f/u2f_hid_device_unittest.cc", | 137 "u2f/u2f_hid_device_unittest.cc", |
137 "u2f/u2f_message_unittest.cc", | |
138 "u2f/u2f_register_unittest.cc", | |
139 "u2f/u2f_request_unittest.cc", | |
140 "u2f/u2f_sign_unittest.cc", | |
141 ] | 138 ] |
142 deps += [ | 139 deps += [ |
143 "//device/hid", | 140 "//device/hid", |
144 "//device/hid:mocks", | 141 "//device/hid:mocks", |
145 "//device/serial", | 142 "//device/serial", |
146 "//device/serial:test_support", | 143 "//device/serial:test_support", |
147 "//device/u2f", | |
148 "//device/u2f:mocks", | |
149 ] | 144 ] |
150 } | 145 } |
151 | 146 |
152 if (use_udev) { | 147 if (use_udev) { |
153 sources += [ "udev_linux/udev_unittest.cc" ] | 148 sources += [ "udev_linux/udev_unittest.cc" ] |
154 deps += [ "//device/udev_linux" ] | 149 deps += [ "//device/udev_linux" ] |
155 } | 150 } |
156 | 151 |
157 # USB does not compile on iOS. | 152 # USB does not compile on iOS. |
158 if (!is_ios) { | 153 if (!is_ios) { |
159 sources += [ | 154 sources += [ |
160 "test/test_device_client.cc", | 155 "test/test_device_client.cc", |
161 "test/test_device_client.h", | 156 "test/test_device_client.h", |
162 "test/usb_test_gadget.h", | 157 "test/usb_test_gadget.h", |
163 "test/usb_test_gadget_impl.cc", | 158 "test/usb_test_gadget_impl.cc", |
164 "usb/mojo/device_impl_unittest.cc", | 159 "usb/mojo/device_impl_unittest.cc", |
165 "usb/mojo/device_manager_impl_unittest.cc", | 160 "usb/mojo/device_manager_impl_unittest.cc", |
166 "usb/mojo/mock_permission_provider.cc", | 161 "usb/mojo/mock_permission_provider.cc", |
167 "usb/mojo/mock_permission_provider.h", | 162 "usb/mojo/mock_permission_provider.h", |
168 "usb/usb_descriptors_unittest.cc", | 163 "usb/usb_descriptors_unittest.cc", |
169 "usb/usb_device_filter_unittest.cc", | 164 "usb/usb_device_filter_unittest.cc", |
170 "usb/usb_device_handle_unittest.cc", | 165 "usb/usb_device_handle_unittest.cc", |
171 "usb/usb_ids_unittest.cc", | 166 "usb/usb_ids_unittest.cc", |
172 "usb/usb_service_unittest.cc", | 167 "usb/usb_service_unittest.cc", |
173 "usb/webusb_descriptors_unittest.cc", | 168 "usb/webusb_descriptors_unittest.cc", |
174 ] | 169 ] |
175 deps += [ | 170 deps += [ |
176 "//device/base", | 171 "//device/base", |
177 "//device/base:mocks", | 172 "//device/base:mocks", |
| 173 "//device/u2f", |
178 "//device/usb", | 174 "//device/usb", |
179 "//device/usb:test_support", | 175 "//device/usb:test_support", |
180 "//device/usb/mojo", | 176 "//device/usb/mojo", |
181 "//device/usb/public/interfaces", | 177 "//device/usb/public/interfaces", |
182 "//net:test_support", | 178 "//net:test_support", |
183 ] | 179 ] |
184 } | 180 } |
185 | 181 |
186 # UsbContext is a libusb-specific object. | 182 # UsbContext is a libusb-specific object. |
187 if (is_mac || is_win) { | 183 if (is_mac || is_win) { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 ] | 314 ] |
319 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 315 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
320 } | 316 } |
321 | 317 |
322 java_cpp_enum("bluetooth_test_javagen") { | 318 java_cpp_enum("bluetooth_test_javagen") { |
323 sources = [ | 319 sources = [ |
324 "bluetooth/test/bluetooth_test.h", | 320 "bluetooth/test/bluetooth_test.h", |
325 ] | 321 ] |
326 } | 322 } |
327 } | 323 } |
OLD | NEW |