Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: build/config/android/rules.gni

Issue 2243353002: (Reland) Update all Robolectric tests to Robolectric 3.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/pylib/junit/test_runner.py ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/internal_rules.gni") 6 import("//build/config/android/internal_rules.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 } 1116 }
1117 1117
1118 java_binary(_java_binary_target_name) { 1118 java_binary(_java_binary_target_name) {
1119 deps = [] 1119 deps = []
1120 jar_name = invoker.target_name 1120 jar_name = invoker.target_name
1121 forward_variables_from(invoker, "*") 1121 forward_variables_from(invoker, "*")
1122 testonly = true 1122 testonly = true
1123 bypass_platform_checks = true 1123 bypass_platform_checks = true
1124 main_class = "org.chromium.testing.local.JunitTestMain" 1124 main_class = "org.chromium.testing.local.JunitTestMain"
1125 wrapper_script_name = "helper/$target_name" 1125 wrapper_script_name = "helper/$target_name"
1126
1127 deps += [ 1126 deps += [
1128 "//testing/android/junit:junit_test_support", 1127 "//testing/android/junit:junit_test_support",
1129 "//third_party/junit", 1128 "//third_party/junit",
1130 "//third_party/mockito:mockito_java", 1129 "//third_party/mockito:mockito_java",
1131 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", 1130 "//third_party/robolectric:android-all-5.0.0_r2-robolectric-1",
1131 "//third_party/robolectric:robolectric_annotations_java",
1132 "//third_party/robolectric:robolectric_java", 1132 "//third_party/robolectric:robolectric_java",
1133 "//third_party/robolectric:robolectric_resources_java",
1134 "//third_party/robolectric:robolectric_utils_java",
1135 "//third_party/robolectric:shadows-core-3.0-21",
1136 "//third_party/robolectric:shadows-multidex-3.0",
1133 ] 1137 ]
1134 } 1138 }
1135 group(target_name) { 1139 group(target_name) {
1136 public_deps = [ 1140 public_deps = [
1137 ":$_java_binary_target_name", 1141 ":$_java_binary_target_name",
1138 ":$_test_runner_target_name", 1142 ":$_test_runner_target_name",
1139 ] 1143 ]
1140 } 1144 }
1141 } 1145 }
1142 1146
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2701 supports_android = true 2705 supports_android = true
2702 jar_path = "${_output_path}/$jar" 2706 jar_path = "${_output_path}/$jar"
2703 } 2707 }
2704 } 2708 }
2705 2709
2706 java_group(target_name) { 2710 java_group(target_name) {
2707 deps = _resource_targets + _jar_targets 2711 deps = _resource_targets + _jar_targets
2708 } 2712 }
2709 } 2713 }
2710 } 2714 }
OLDNEW
« no previous file with comments | « build/android/pylib/junit/test_runner.py ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698