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