| 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/rules.gni") # For generate_jni(). | 11 import("//build/config/android/rules.gni") # For generate_jni(). |
| 11 } | 12 } |
| 12 | 13 |
| 13 if (is_mac) { | 14 if (is_mac) { |
| 14 import("//build/config/mac/mac_sdk.gni") | 15 import("//build/config/mac/mac_sdk.gni") |
| 15 } | 16 } |
| 16 | 17 |
| 17 is_linux_without_udev = is_linux && !use_udev | 18 is_linux_without_udev = is_linux && !use_udev |
| 18 | 19 |
| 19 test("device_unittests") { | 20 test("device_unittests") { |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 "//third_party/android_tools:android_support_annotations_java", | 297 "//third_party/android_tools:android_support_annotations_java", |
| 297 ] | 298 ] |
| 298 | 299 |
| 299 srcjar_deps = [ ":bluetooth_test_javagen" ] | 300 srcjar_deps = [ ":bluetooth_test_javagen" ] |
| 300 } | 301 } |
| 301 | 302 |
| 302 junit_binary("device_junit_tests") { | 303 junit_binary("device_junit_tests") { |
| 303 java_files = [ | 304 java_files = [ |
| 304 "gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest
.java", | 305 "gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest
.java", |
| 305 "generic_sensor/android/junit/src/org/chromium/device/sensors/PlatformSens
orAndProviderTest.java", | 306 "generic_sensor/android/junit/src/org/chromium/device/sensors/PlatformSens
orAndProviderTest.java", |
| 307 "geolocation/android/junit/src/org/chromium/device/geolocation/LocationPro
viderTest.java", |
| 306 "nfc/android/junit/src/org/chromium/device/nfc/NFCTest.java", | 308 "nfc/android/junit/src/org/chromium/device/nfc/NFCTest.java", |
| 307 ] | 309 ] |
| 308 deps = [ | 310 deps = [ |
| 311 "$google_play_services_package:google_play_services_base_java", |
| 312 "$google_play_services_package:google_play_services_basement_java", |
| 313 "$google_play_services_package:google_play_services_location_java", |
| 309 "//base:base_java", | 314 "//base:base_java", |
| 310 "//base:base_java_test_support", | 315 "//base:base_java_test_support", |
| 311 "//device/gamepad:java", | 316 "//device/gamepad:java", |
| 312 "//device/generic_sensor:java", | 317 "//device/generic_sensor:java", |
| 313 "//device/generic_sensor/public/interfaces:interfaces_java", | 318 "//device/generic_sensor/public/interfaces:interfaces_java", |
| 319 "//device/geolocation:geolocation_java", |
| 320 "//device/geolocation:geolocation_java_test_support", |
| 314 "//device/nfc:mojo_bindings_java", | 321 "//device/nfc:mojo_bindings_java", |
| 315 "//device/nfc/android:java", | 322 "//device/nfc/android:java", |
| 316 "//mojo/public/java:bindings_java", | 323 "//mojo/public/java:bindings_java", |
| 317 "//third_party/android_tools:android_support_annotations_java", | 324 "//third_party/android_tools:android_support_annotations_java", |
| 318 ] | 325 ] |
| 319 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 326 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 320 } | 327 } |
| 321 | 328 |
| 322 java_cpp_enum("bluetooth_test_javagen") { | 329 java_cpp_enum("bluetooth_test_javagen") { |
| 323 sources = [ | 330 sources = [ |
| 324 "bluetooth/test/bluetooth_test.h", | 331 "bluetooth/test/bluetooth_test.h", |
| 325 ] | 332 ] |
| 326 } | 333 } |
| 327 } | 334 } |
| OLD | NEW |