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

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

Issue 2239003002: Revert of [Android] 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
1126 deps += [ 1127 deps += [
1127 "//testing/android/junit:junit_test_support", 1128 "//testing/android/junit:junit_test_support",
1128 "//third_party/junit", 1129 "//third_party/junit",
1129 "//third_party/mockito:mockito_java", 1130 "//third_party/mockito:mockito_java",
1130 "//third_party/robolectric:android-all-5.0.0_r2-robolectric-1", 1131 "//third_party/robolectric:android-all-4.3_r2-robolectric-0",
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",
1137 ] 1133 ]
1138 } 1134 }
1139 group(target_name) { 1135 group(target_name) {
1140 public_deps = [ 1136 public_deps = [
1141 ":$_java_binary_target_name", 1137 ":$_java_binary_target_name",
1142 ":$_test_runner_target_name", 1138 ":$_test_runner_target_name",
1143 ] 1139 ]
1144 } 1140 }
1145 } 1141 }
1146 1142
(...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after
2703 supports_android = true 2699 supports_android = true
2704 jar_path = "${_output_path}/$jar" 2700 jar_path = "${_output_path}/$jar"
2705 } 2701 }
2706 } 2702 }
2707 2703
2708 java_group(target_name) { 2704 java_group(target_name) {
2709 deps = _resource_targets + _jar_targets 2705 deps = _resource_targets + _jar_targets
2710 } 2706 }
2711 } 2707 }
2712 } 2708 }
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