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