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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
10 import("//third_party/android_platform/config.gni") | 10 import("//third_party/android_platform/config.gni") |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
964 test_type = "junit" | 964 test_type = "junit" |
965 } | 965 } |
966 | 966 |
967 java_binary(_java_binary_target_name) { | 967 java_binary(_java_binary_target_name) { |
968 deps = [] | 968 deps = [] |
969 jar_name = invoker.target_name | 969 jar_name = invoker.target_name |
970 forward_variables_from(invoker, "*") | 970 forward_variables_from(invoker, "*") |
971 testonly = true | 971 testonly = true |
972 bypass_platform_checks = true | 972 bypass_platform_checks = true |
973 main_class = "org.chromium.testing.local.JunitTestMain" | 973 main_class = "org.chromium.testing.local.JunitTestMain" |
974 used_only_by_tests = true | |
agrieve
2016/02/18 20:52:19
Sorry to be pedantic, but looking at this now, I'm
mikecase (-- gone --)
2016/02/18 21:31:47
Yep, I didn't give much thought to the variable na
| |
974 wrapper_script_name = "$target_name" | 975 wrapper_script_name = "$target_name" |
975 | 976 |
976 deps += [ | 977 deps += [ |
977 "//testing/android/junit:junit_test_support", | 978 "//testing/android/junit:junit_test_support", |
978 "//third_party/junit", | 979 "//third_party/junit", |
979 "//third_party/mockito:mockito_java", | 980 "//third_party/mockito:mockito_java", |
980 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", | 981 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", |
981 "//third_party/robolectric:robolectric_java", | 982 "//third_party/robolectric:robolectric_java", |
982 ] | 983 ] |
983 } | 984 } |
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2416 "--target", | 2417 "--target", |
2417 rebase_path(invoker.target, root_build_dir), | 2418 rebase_path(invoker.target, root_build_dir), |
2418 "--output-directory", | 2419 "--output-directory", |
2419 rebase_path(root_out_dir, root_build_dir), | 2420 rebase_path(root_out_dir, root_build_dir), |
2420 ] | 2421 ] |
2421 if (defined(invoker.flag_name)) { | 2422 if (defined(invoker.flag_name)) { |
2422 args += [ "--flag-name=${invoker.flag_name}" ] | 2423 args += [ "--flag-name=${invoker.flag_name}" ] |
2423 } | 2424 } |
2424 } | 2425 } |
2425 } | 2426 } |
OLD | NEW |