| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 DEPRECATED_java_in_dir = "javatests/src" | 143 DEPRECATED_java_in_dir = "javatests/src" |
| 144 testonly = true | 144 testonly = true |
| 145 deps = [ | 145 deps = [ |
| 146 ":ui_java", | 146 ":ui_java", |
| 147 ":ui_java_resources", | 147 ":ui_java_resources", |
| 148 "//base:base_java", | 148 "//base:base_java", |
| 149 "//base:base_java_test_support", | 149 "//base:base_java_test_support", |
| 150 ] | 150 ] |
| 151 } | 151 } |
| 152 | 152 |
| 153 # GYP: //ui/android/ui_android.gyp:ui_junit_tests |
| 154 junit_binary("ui_junit_tests") { |
| 155 java_files = |
| 156 [ "junit/src/org/chromium/ui/picker/DateDialogNormalizerTest.java" ] |
| 157 deps = [ |
| 158 "//base:base_java", |
| 159 "//base:base_junit_test_support", |
| 160 "//ui/android:ui_java", |
| 161 ] |
| 162 } |
| 163 |
| 153 test("ui_android_unittests") { | 164 test("ui_android_unittests") { |
| 154 sources = [ | 165 sources = [ |
| 155 "overscroll_refresh_unittest.cc", | 166 "overscroll_refresh_unittest.cc", |
| 156 "resources/resource_manager_impl_unittest.cc", | 167 "resources/resource_manager_impl_unittest.cc", |
| 157 "run_all_unittests.cc", | 168 "run_all_unittests.cc", |
| 158 ] | 169 ] |
| 159 deps = [ | 170 deps = [ |
| 160 ":android", | 171 ":android", |
| 161 ":java_enums_srcjar", | 172 ":java_enums_srcjar", |
| 162 ":ui_java", | 173 ":ui_java", |
| 163 "//base", | 174 "//base", |
| 164 "//base/test:test_support", | 175 "//base/test:test_support", |
| 165 "//cc", | 176 "//cc", |
| 166 "//cc:test_support", | 177 "//cc:test_support", |
| 167 "//skia", | 178 "//skia", |
| 168 "//testing/gmock", | 179 "//testing/gmock", |
| 169 "//testing/gtest", | 180 "//testing/gtest", |
| 170 "//ui/base", | 181 "//ui/base", |
| 171 "//ui/gfx", | 182 "//ui/gfx", |
| 172 "//ui/resources:ui_test_pak", | 183 "//ui/resources:ui_test_pak", |
| 173 ] | 184 ] |
| 174 } | 185 } |
| OLD | NEW |