| 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/hid_service_unittest.cc", | 114 "hid/hid_service_unittest.cc", |
| 124 "hid/input_service_linux_unittest.cc", | 115 "hid/input_service_linux_unittest.cc", |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 } | 231 } |
| 241 } | 232 } |
| 242 | 233 |
| 243 if (is_win) { | 234 if (is_win) { |
| 244 sources += [ | 235 sources += [ |
| 245 "bluetooth/bluetooth_classic_win_fake.cc", | 236 "bluetooth/bluetooth_classic_win_fake.cc", |
| 246 "bluetooth/bluetooth_classic_win_fake.h", | 237 "bluetooth/bluetooth_classic_win_fake.h", |
| 247 "bluetooth/bluetooth_low_energy_win_fake.cc", | 238 "bluetooth/bluetooth_low_energy_win_fake.cc", |
| 248 "bluetooth/bluetooth_low_energy_win_fake.h", | 239 "bluetooth/bluetooth_low_energy_win_fake.h", |
| 249 ] | 240 ] |
| 250 | |
| 251 # Needed for "generic_sensor/platform_sensor_and_provider_unittest_win.cc" | |
| 252 libs = [ | |
| 253 "propsys.lib", | |
| 254 "sensorsapi.lib", | |
| 255 ] | |
| 256 } | 241 } |
| 257 | 242 |
| 258 if (enable_vr) { | 243 if (enable_vr) { |
| 259 sources += [ | 244 sources += [ |
| 260 "vr/vr_device_manager_unittest.cc", | 245 "vr/vr_device_manager_unittest.cc", |
| 261 "vr/vr_display_impl_unittest.cc", | 246 "vr/vr_display_impl_unittest.cc", |
| 262 "vr/vr_service_impl_unittest.cc", | 247 "vr/vr_service_impl_unittest.cc", |
| 263 ] | 248 ] |
| 264 | 249 |
| 265 deps += [ | 250 deps += [ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 ] | 298 ] |
| 314 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 299 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 315 } | 300 } |
| 316 | 301 |
| 317 java_cpp_enum("bluetooth_test_javagen") { | 302 java_cpp_enum("bluetooth_test_javagen") { |
| 318 sources = [ | 303 sources = [ |
| 319 "bluetooth/test/bluetooth_test.h", | 304 "bluetooth/test/bluetooth_test.h", |
| 320 ] | 305 ] |
| 321 } | 306 } |
| 322 } | 307 } |
| OLD | NEW |