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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 assert(is_android) | 8 assert(is_android) |
9 | 9 |
10 component("android") { | 10 component("android") { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 ":ui_java_resources", | 227 ":ui_java_resources", |
228 "//base:base_java", | 228 "//base:base_java", |
229 "//third_party/android_tools:android_support_annotations_java", | 229 "//third_party/android_tools:android_support_annotations_java", |
230 "//third_party/android_tools:android_support_v7_appcompat_java", | 230 "//third_party/android_tools:android_support_v7_appcompat_java", |
231 ] | 231 ] |
232 srcjar_deps = [ ":java_enums_srcjar" ] | 232 srcjar_deps = [ ":java_enums_srcjar" ] |
233 } | 233 } |
234 | 234 |
235 junit_binary("ui_junit_tests") { | 235 junit_binary("ui_junit_tests") { |
236 java_files = [ | 236 java_files = [ |
237 "junit/src/org/chromium/ui/base/ClipboardTest.java", | |
238 "junit/src/org/chromium/ui/base/SelectFileDialogTest.java", | 237 "junit/src/org/chromium/ui/base/SelectFileDialogTest.java", |
239 "junit/src/org/chromium/ui/text/SpanApplierTest.java", | 238 "junit/src/org/chromium/ui/text/SpanApplierTest.java", |
240 ] | 239 ] |
241 deps = [ | 240 deps = [ |
242 ":ui_java", | 241 ":ui_java", |
243 "//base:base_java", | 242 "//base:base_java", |
244 "//base:base_java_test_support", | |
245 ] | 243 ] |
246 } | 244 } |
247 | 245 |
248 test("ui_android_unittests") { | 246 test("ui_android_unittests") { |
249 sources = [ | 247 sources = [ |
250 "overscroll_refresh_unittest.cc", | 248 "overscroll_refresh_unittest.cc", |
251 "resources/resource_manager_impl_unittest.cc", | 249 "resources/resource_manager_impl_unittest.cc", |
252 "run_all_unittests.cc", | 250 "run_all_unittests.cc", |
253 "view_android_unittests.cc", | 251 "view_android_unittests.cc", |
254 ] | 252 ] |
255 deps = [ | 253 deps = [ |
256 ":android", | 254 ":android", |
257 ":java_enums_srcjar", | 255 ":java_enums_srcjar", |
258 ":ui_java", | 256 ":ui_java", |
259 "//base", | 257 "//base", |
260 "//base/test:test_support", | 258 "//base/test:test_support", |
261 "//cc", | 259 "//cc", |
262 "//cc:test_support", | 260 "//cc:test_support", |
263 "//skia", | 261 "//skia", |
264 "//testing/gmock", | 262 "//testing/gmock", |
265 "//testing/gtest", | 263 "//testing/gtest", |
266 "//ui/base", | 264 "//ui/base", |
267 "//ui/events", | 265 "//ui/events", |
268 "//ui/gfx", | 266 "//ui/gfx", |
269 "//ui/resources:ui_test_pak", | 267 "//ui/resources:ui_test_pak", |
270 ] | 268 ] |
271 } | 269 } |
OLD | NEW |