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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 ] | 67 ] |
68 | 68 |
69 deps = [ | 69 deps = [ |
70 "//base/test:test_support", | 70 "//base/test:test_support", |
71 "//device/battery", | 71 "//device/battery", |
72 "//device/battery:mojo_bindings", | 72 "//device/battery:mojo_bindings", |
73 "//device/bluetooth", | 73 "//device/bluetooth", |
74 "//device/bluetooth:mocks", | 74 "//device/bluetooth:mocks", |
75 "//device/gamepad", | 75 "//device/gamepad", |
76 "//device/gamepad:test_helpers", | 76 "//device/gamepad:test_helpers", |
| 77 "//device/geolocation:unittests", |
77 "//device/nfc", | 78 "//device/nfc", |
78 "//device/power_save_blocker", | 79 "//device/power_save_blocker", |
79 "//device/vr", | 80 "//device/vr", |
80 "//device/vr:fakes", | 81 "//device/vr:fakes", |
81 "//device/vr:mojo_bindings", | 82 "//device/vr:mojo_bindings", |
82 "//mojo/common", | 83 "//mojo/common", |
83 "//mojo/edk/system", | 84 "//mojo/edk/system", |
84 "//mojo/public/cpp/bindings", | 85 "//mojo/public/cpp/bindings", |
85 "//net", | 86 "//net", |
86 "//testing/gmock", | 87 "//testing/gmock", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 if (is_mac || is_win) { | 154 if (is_mac || is_win) { |
154 sources += [ "usb/usb_context_unittest.cc" ] | 155 sources += [ "usb/usb_context_unittest.cc" ] |
155 deps += [ "//third_party/libusb" ] | 156 deps += [ "//third_party/libusb" ] |
156 } | 157 } |
157 | 158 |
158 if (is_android) { | 159 if (is_android) { |
159 sources -= [ "battery/battery_status_service_unittest.cc" ] | 160 sources -= [ "battery/battery_status_service_unittest.cc" ] |
160 deps += [ | 161 deps += [ |
161 ":bluetooth_test_java", | 162 ":bluetooth_test_java", |
162 ":bluetooth_test_jni_headers", | 163 ":bluetooth_test_jni_headers", |
| 164 "//device/geolocation:geolocation_java", |
| 165 "//device/geolocation:geolocation_java_test_support", |
163 "//device/usb:java", | 166 "//device/usb:java", |
164 ] | 167 ] |
165 deps -= [ "//device/battery" ] | 168 deps -= [ "//device/battery" ] |
166 } | 169 } |
167 | 170 |
168 if (is_chromeos) { | 171 if (is_chromeos) { |
169 deps += [ | 172 deps += [ |
170 "//chromeos", | 173 "//chromeos", |
171 "//chromeos:test_support", | 174 "//chromeos:test_support", |
172 "//chromeos:test_support_without_gmock", | 175 "//chromeos:test_support_without_gmock", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 junit_binary("device_junit_tests") { | 246 junit_binary("device_junit_tests") { |
244 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] | 247 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] |
245 deps = [ | 248 deps = [ |
246 "//base:base_java", | 249 "//base:base_java", |
247 "//base:base_java_test_support", | 250 "//base:base_java_test_support", |
248 "//device/gamepad:java", | 251 "//device/gamepad:java", |
249 ] | 252 ] |
250 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 253 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
251 } | 254 } |
252 } | 255 } |
OLD | NEW |