| 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/features.gni") | 5 import("vr/features/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/config.gni") | 10 import("//build/config/android/config.gni") |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 60 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
| 61 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 61 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
| 62 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 62 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
| 63 "bluetooth/test/test_bluetooth_adapter_observer.h", | 63 "bluetooth/test/test_bluetooth_adapter_observer.h", |
| 64 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 64 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
| 65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 65 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
| 66 "bluetooth/uribeacon/uri_encoder_unittest.cc", | 66 "bluetooth/uribeacon/uri_encoder_unittest.cc", |
| 67 "gamepad/gamepad_provider_unittest.cc", | 67 "gamepad/gamepad_provider_unittest.cc", |
| 68 "gamepad/gamepad_service_unittest.cc", | 68 "gamepad/gamepad_service_unittest.cc", |
| 69 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", | 69 "gamepad/public/interfaces/gamepad_struct_traits_unittest.cc", |
| 70 "generic_sensor/platform_sensor_and_provider_unittest_win.cc", | |
| 71 "generic_sensor/platform_sensor_provider_unittest.cc", | |
| 72 "sensors/data_fetcher_shared_memory_base_unittest.cc", | 70 "sensors/data_fetcher_shared_memory_base_unittest.cc", |
| 73 "sensors/sensor_manager_android_unittest.cc", | 71 "sensors/sensor_manager_android_unittest.cc", |
| 74 "sensors/sensor_manager_chromeos_unittest.cc", | 72 "sensors/sensor_manager_chromeos_unittest.cc", |
| 75 "test/run_all_unittests.cc", | 73 "test/run_all_unittests.cc", |
| 76 ] | 74 ] |
| 77 | 75 |
| 78 deps = [ | 76 deps = [ |
| 79 "//base/test:test_support", | 77 "//base/test:test_support", |
| 80 "//base/third_party/dynamic_annotations:dynamic_annotations", | 78 "//base/third_party/dynamic_annotations:dynamic_annotations", |
| 81 "//device/base/synchronization", | 79 "//device/base/synchronization", |
| 82 "//device/bluetooth", | 80 "//device/bluetooth", |
| 83 "//device/bluetooth:mocks", | 81 "//device/bluetooth:mocks", |
| 84 "//device/bluetooth:mojo", | 82 "//device/bluetooth:mojo", |
| 85 "//device/bluetooth/uribeacon", | 83 "//device/bluetooth/uribeacon", |
| 86 "//device/gamepad", | 84 "//device/gamepad", |
| 87 "//device/gamepad:test_helpers", | 85 "//device/gamepad:test_helpers", |
| 88 "//device/gamepad/public/cpp:shared_with_blink", | 86 "//device/gamepad/public/cpp:shared_with_blink", |
| 89 "//device/gamepad/public/interfaces", | 87 "//device/gamepad/public/interfaces", |
| 90 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", | 88 "//device/gamepad/public/interfaces:gamepad_struct_traits_test", |
| 91 "//device/generic_sensor", | |
| 92 "//device/generic_sensor:testing", | |
| 93 "//device/geolocation:unittests", | 89 "//device/geolocation:unittests", |
| 94 "//device/power_save_blocker", | 90 "//device/power_save_blocker", |
| 95 "//device/sensors", | 91 "//device/sensors", |
| 96 "//device/sensors/public/cpp:full", | 92 "//device/sensors/public/cpp:full", |
| 97 "//device/sensors/public/interfaces", | 93 "//device/sensors/public/interfaces", |
| 98 "//device/wake_lock", | 94 "//device/wake_lock", |
| 99 "//mojo/common", | 95 "//mojo/common", |
| 100 "//mojo/edk/system", | 96 "//mojo/edk/system", |
| 101 "//mojo/public/cpp/bindings", | 97 "//mojo/public/cpp/bindings", |
| 102 "//net", | 98 "//net", |
| 103 "//testing/gmock", | 99 "//testing/gmock", |
| 104 "//testing/gtest", | 100 "//testing/gtest", |
| 105 "//third_party/WebKit/public:blink_headers", | 101 "//third_party/WebKit/public:blink_headers", |
| 106 "//tools/usb_gadget", | 102 "//tools/usb_gadget", |
| 107 "//url", | 103 "//url", |
| 108 ] | 104 ] |
| 109 | 105 |
| 110 if (!is_linux_without_udev) { | |
| 111 sources += | |
| 112 [ "generic_sensor/platform_sensor_and_provider_unittest_linux.cc" ] | |
| 113 } | |
| 114 | |
| 115 # HID and Serial: | 106 # HID and Serial: |
| 116 # Android doesn't compile. | 107 # Android doesn't compile. |
| 117 # Linux, requires udev. | 108 # Linux, requires udev. |
| 118 if (!is_linux_without_udev && !is_android) { | 109 if (!is_linux_without_udev && !is_android) { |
| 119 sources += [ | 110 sources += [ |
| 120 "hid/hid_connection_unittest.cc", | 111 "hid/hid_connection_unittest.cc", |
| 121 "hid/hid_device_filter_unittest.cc", | 112 "hid/hid_device_filter_unittest.cc", |
| 122 "hid/hid_report_descriptor_unittest.cc", | 113 "hid/hid_report_descriptor_unittest.cc", |
| 123 "hid/input_service_linux_unittest.cc", | 114 "hid/input_service_linux_unittest.cc", |
| 124 "hid/test_report_descriptors.cc", | 115 "hid/test_report_descriptors.cc", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 } | 230 } |
| 240 } | 231 } |
| 241 | 232 |
| 242 if (is_win) { | 233 if (is_win) { |
| 243 sources += [ | 234 sources += [ |
| 244 "bluetooth/bluetooth_classic_win_fake.cc", | 235 "bluetooth/bluetooth_classic_win_fake.cc", |
| 245 "bluetooth/bluetooth_classic_win_fake.h", | 236 "bluetooth/bluetooth_classic_win_fake.h", |
| 246 "bluetooth/bluetooth_low_energy_win_fake.cc", | 237 "bluetooth/bluetooth_low_energy_win_fake.cc", |
| 247 "bluetooth/bluetooth_low_energy_win_fake.h", | 238 "bluetooth/bluetooth_low_energy_win_fake.h", |
| 248 ] | 239 ] |
| 249 | |
| 250 # Needed for "generic_sensor/platform_sensor_and_provider_unittest_win.cc" | |
| 251 libs = [ | |
| 252 "propsys.lib", | |
| 253 "sensorsapi.lib", | |
| 254 ] | |
| 255 } | 240 } |
| 256 | 241 |
| 257 if (enable_vr) { | 242 if (enable_vr) { |
| 258 sources += [ | 243 sources += [ |
| 259 "vr/vr_device_manager_unittest.cc", | 244 "vr/vr_device_manager_unittest.cc", |
| 260 "vr/vr_display_impl_unittest.cc", | 245 "vr/vr_display_impl_unittest.cc", |
| 261 "vr/vr_service_impl_unittest.cc", | 246 "vr/vr_service_impl_unittest.cc", |
| 262 ] | 247 ] |
| 263 | 248 |
| 264 deps += [ | 249 deps += [ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 ] | 297 ] |
| 313 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 298 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 314 } | 299 } |
| 315 | 300 |
| 316 java_cpp_enum("bluetooth_test_javagen") { | 301 java_cpp_enum("bluetooth_test_javagen") { |
| 317 sources = [ | 302 sources = [ |
| 318 "bluetooth/test/bluetooth_test.h", | 303 "bluetooth/test/bluetooth_test.h", |
| 319 ] | 304 ] |
| 320 } | 305 } |
| 321 } | 306 } |
| OLD | NEW |