| 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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
| 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 import("//build/config/android/internal_rules.gni") | 8 import("//build/config/android/internal_rules.gni") |
| 9 import("//build/config/compiler/compiler.gni") | 9 import("//build/config/compiler/compiler.gni") |
| 10 import("//build/config/dcheck_always_on.gni") | 10 import("//build/config/dcheck_always_on.gni") |
| (...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 testonly = true | 1056 testonly = true |
| 1057 | 1057 |
| 1058 _java_binary_target_name = "${target_name}__java_binary" | 1058 _java_binary_target_name = "${target_name}__java_binary" |
| 1059 _test_runner_target_name = "${target_name}__test_runner_script" | 1059 _test_runner_target_name = "${target_name}__test_runner_script" |
| 1060 | 1060 |
| 1061 test_runner_script(_test_runner_target_name) { | 1061 test_runner_script(_test_runner_target_name) { |
| 1062 test_name = invoker.target_name | 1062 test_name = invoker.target_name |
| 1063 test_suite = invoker.target_name | 1063 test_suite = invoker.target_name |
| 1064 test_type = "junit" | 1064 test_type = "junit" |
| 1065 ignore_all_data_deps = true | 1065 ignore_all_data_deps = true |
| 1066 forward_variables_from(invoker, |
| 1067 [ |
| 1068 "android_manifest_path", |
| 1069 "resource_dir", |
| 1070 "package_name", |
| 1071 ]) |
| 1066 } | 1072 } |
| 1067 | 1073 |
| 1068 java_binary(_java_binary_target_name) { | 1074 java_binary(_java_binary_target_name) { |
| 1069 deps = [] | 1075 deps = [] |
| 1070 output_name = invoker.target_name | 1076 output_name = invoker.target_name |
| 1071 forward_variables_from(invoker, "*") | 1077 forward_variables_from(invoker, "*") |
| 1072 testonly = true | 1078 testonly = true |
| 1073 bypass_platform_checks = true | 1079 bypass_platform_checks = true |
| 1074 main_class = "org.chromium.testing.local.JunitTestMain" | 1080 main_class = "org.chromium.testing.local.JunitTestMain" |
| 1075 wrapper_script_name = "helper/$target_name" | 1081 wrapper_script_name = "helper/$target_name" |
| (...skipping 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2893 # because in practice they seem to contain classes required to be in the | 2899 # because in practice they seem to contain classes required to be in the |
| 2894 # classpath. | 2900 # classpath. |
| 2895 deps += _subjar_targets | 2901 deps += _subjar_targets |
| 2896 } | 2902 } |
| 2897 if (defined(_res_target_name)) { | 2903 if (defined(_res_target_name)) { |
| 2898 deps += [ ":$_res_target_name" ] | 2904 deps += [ ":$_res_target_name" ] |
| 2899 } | 2905 } |
| 2900 } | 2906 } |
| 2901 } | 2907 } |
| 2902 } | 2908 } |
| OLD | NEW |