| 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
| 10 } | 10 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 56 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
| 57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
| 58 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 58 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
| 59 "bluetooth/test/test_bluetooth_adapter_observer.h", | 59 "bluetooth/test/test_bluetooth_adapter_observer.h", |
| 60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
| 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
| 62 "gamepad/gamepad_provider_unittest.cc", | 62 "gamepad/gamepad_provider_unittest.cc", |
| 63 "nfc/nfc_chromeos_unittest.cc", | 63 "nfc/nfc_chromeos_unittest.cc", |
| 64 "nfc/nfc_ndef_record_unittest.cc", | 64 "nfc/nfc_ndef_record_unittest.cc", |
| 65 "test/run_all_unittests.cc", | 65 "test/run_all_unittests.cc", |
| 66 "vr/vr_device_manager_unittest.cc", | |
| 67 "vr/vr_service_impl_unittest.cc", | |
| 68 ] | 66 ] |
| 69 | 67 |
| 70 deps = [ | 68 deps = [ |
| 71 "//base/test:test_support", | 69 "//base/test:test_support", |
| 72 "//device/battery", | 70 "//device/battery", |
| 73 "//device/battery:mojo_bindings", | 71 "//device/battery:mojo_bindings", |
| 74 "//device/bluetooth", | 72 "//device/bluetooth", |
| 75 "//device/bluetooth:mocks", | 73 "//device/bluetooth:mocks", |
| 76 "//device/gamepad", | 74 "//device/gamepad", |
| 77 "//device/gamepad:test_helpers", | 75 "//device/gamepad:test_helpers", |
| 78 "//device/geolocation:unittests", | 76 "//device/geolocation:unittests", |
| 79 "//device/nfc", | 77 "//device/nfc", |
| 80 "//device/power_save_blocker", | 78 "//device/power_save_blocker", |
| 81 "//device/vr", | |
| 82 "//device/vr:fakes", | |
| 83 "//device/vr:mojo_bindings", | |
| 84 "//mojo/common", | 79 "//mojo/common", |
| 85 "//mojo/edk/system", | 80 "//mojo/edk/system", |
| 86 "//mojo/public/cpp/bindings", | 81 "//mojo/public/cpp/bindings", |
| 87 "//net", | 82 "//net", |
| 88 "//testing/gmock", | 83 "//testing/gmock", |
| 89 "//testing/gtest", | 84 "//testing/gtest", |
| 90 "//tools/usb_gadget", | 85 "//tools/usb_gadget", |
| 91 "//url", | 86 "//url", |
| 92 ] | 87 ] |
| 93 | 88 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 } | 213 } |
| 219 | 214 |
| 220 if (is_win) { | 215 if (is_win) { |
| 221 sources += [ | 216 sources += [ |
| 222 "bluetooth/bluetooth_classic_win_fake.cc", | 217 "bluetooth/bluetooth_classic_win_fake.cc", |
| 223 "bluetooth/bluetooth_classic_win_fake.h", | 218 "bluetooth/bluetooth_classic_win_fake.h", |
| 224 "bluetooth/bluetooth_low_energy_win_fake.cc", | 219 "bluetooth/bluetooth_low_energy_win_fake.cc", |
| 225 "bluetooth/bluetooth_low_energy_win_fake.h", | 220 "bluetooth/bluetooth_low_energy_win_fake.h", |
| 226 ] | 221 ] |
| 227 } | 222 } |
| 223 |
| 224 if (enable_webvr) { |
| 225 sources += [ |
| 226 "vr/vr_device_manager_unittest.cc", |
| 227 "vr/vr_service_impl_unittest.cc", |
| 228 ] |
| 229 |
| 230 deps += [ |
| 231 "//device/vr", |
| 232 "//device/vr:fakes", |
| 233 "//device/vr:mojo_bindings", |
| 234 ] |
| 235 } |
| 228 } | 236 } |
| 229 | 237 |
| 230 if (is_android) { | 238 if (is_android) { |
| 231 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch
romium/device/bluetooth/Fakes.java" ] | 239 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch
romium/device/bluetooth/Fakes.java" ] |
| 232 | 240 |
| 233 generate_jni("bluetooth_test_jni_headers") { | 241 generate_jni("bluetooth_test_jni_headers") { |
| 234 sources = bluetooth_java_sources_needing_jni | 242 sources = bluetooth_java_sources_needing_jni |
| 235 jni_package = "bluetooth" | 243 jni_package = "bluetooth" |
| 236 } | 244 } |
| 237 | 245 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 248 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] | 256 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] |
| 249 deps = [ | 257 deps = [ |
| 250 "//base:base_java", | 258 "//base:base_java", |
| 251 "//base:base_java_test_support", | 259 "//base:base_java_test_support", |
| 252 "//device/gamepad:java", | 260 "//device/gamepad:java", |
| 253 "//third_party/android_tools:android_support_annotations_java", | 261 "//third_party/android_tools:android_support_annotations_java", |
| 254 ] | 262 ] |
| 255 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 263 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 256 } | 264 } |
| 257 } | 265 } |
| OLD | NEW |