OLD | NEW |
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/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
8 | 8 |
9 assert(is_android) | 9 assert(is_android) |
10 | 10 |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 } | 1115 } |
1116 | 1116 |
1117 java_binary(_java_binary_target_name) { | 1117 java_binary(_java_binary_target_name) { |
1118 deps = [] | 1118 deps = [] |
1119 jar_name = invoker.target_name | 1119 jar_name = invoker.target_name |
1120 forward_variables_from(invoker, "*") | 1120 forward_variables_from(invoker, "*") |
1121 testonly = true | 1121 testonly = true |
1122 bypass_platform_checks = true | 1122 bypass_platform_checks = true |
1123 main_class = "org.chromium.testing.local.JunitTestMain" | 1123 main_class = "org.chromium.testing.local.JunitTestMain" |
1124 wrapper_script_name = "helper/$target_name" | 1124 wrapper_script_name = "helper/$target_name" |
1125 | |
1126 deps += [ | 1125 deps += [ |
1127 "//testing/android/junit:junit_test_support", | 1126 "//testing/android/junit:junit_test_support", |
1128 "//third_party/junit", | 1127 "//third_party/junit", |
1129 "//third_party/mockito:mockito_java", | 1128 "//third_party/mockito:mockito_java", |
1130 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", | 1129 "//third_party/robolectric:android-all-5.0.0_r2-robolectric-1", |
| 1130 "//third_party/robolectric:robolectric_annotations_java", |
1131 "//third_party/robolectric:robolectric_java", | 1131 "//third_party/robolectric:robolectric_java", |
| 1132 "//third_party/robolectric:robolectric_resources_java", |
| 1133 "//third_party/robolectric:robolectric_utils_java", |
| 1134 "//third_party/robolectric:shadows-core-3.0-21", |
| 1135 "//third_party/robolectric:shadows-multidex-3.0", |
1132 ] | 1136 ] |
1133 } | 1137 } |
1134 group(target_name) { | 1138 group(target_name) { |
1135 public_deps = [ | 1139 public_deps = [ |
1136 ":$_java_binary_target_name", | 1140 ":$_java_binary_target_name", |
1137 ":$_test_runner_target_name", | 1141 ":$_test_runner_target_name", |
1138 ] | 1142 ] |
1139 } | 1143 } |
1140 } | 1144 } |
1141 | 1145 |
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2663 android_manifest = "${_output_path}/AndroidManifest.xml" | 2667 android_manifest = "${_output_path}/AndroidManifest.xml" |
2664 v14_skip = true | 2668 v14_skip = true |
2665 } | 2669 } |
2666 } | 2670 } |
2667 | 2671 |
2668 java_group(target_name) { | 2672 java_group(target_name) { |
2669 deps = _sub_target_names | 2673 deps = _sub_target_names |
2670 } | 2674 } |
2671 } | 2675 } |
2672 } | 2676 } |
OLD | NEW |