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