| 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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1049 set_sources_assignment_filter([]) | 1049 set_sources_assignment_filter([]) |
| 1050 testonly = true | 1050 testonly = true |
| 1051 | 1051 |
| 1052 _java_binary_target_name = "${target_name}__java_binary" | 1052 _java_binary_target_name = "${target_name}__java_binary" |
| 1053 _test_runner_target_name = "${target_name}__test_runner_script" | 1053 _test_runner_target_name = "${target_name}__test_runner_script" |
| 1054 | 1054 |
| 1055 test_runner_script(_test_runner_target_name) { | 1055 test_runner_script(_test_runner_target_name) { |
| 1056 test_name = invoker.target_name | 1056 test_name = invoker.target_name |
| 1057 test_suite = invoker.target_name | 1057 test_suite = invoker.target_name |
| 1058 test_type = "junit" | 1058 test_type = "junit" |
| 1059 ignore_all_data_deps = true |
| 1059 } | 1060 } |
| 1060 | 1061 |
| 1061 java_binary(_java_binary_target_name) { | 1062 java_binary(_java_binary_target_name) { |
| 1062 deps = [] | 1063 deps = [] |
| 1063 output_name = invoker.target_name | 1064 output_name = invoker.target_name |
| 1064 forward_variables_from(invoker, "*") | 1065 forward_variables_from(invoker, "*") |
| 1065 testonly = true | 1066 testonly = true |
| 1066 bypass_platform_checks = true | 1067 bypass_platform_checks = true |
| 1067 main_class = "org.chromium.testing.local.JunitTestMain" | 1068 main_class = "org.chromium.testing.local.JunitTestMain" |
| 1068 wrapper_script_name = "helper/$target_name" | 1069 wrapper_script_name = "helper/$target_name" |
| (...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2760 # because in practice they seem to contain classes required to be in the | 2761 # because in practice they seem to contain classes required to be in the |
| 2761 # classpath. | 2762 # classpath. |
| 2762 deps += _subjar_targets | 2763 deps += _subjar_targets |
| 2763 } | 2764 } |
| 2764 if (defined(_res_target_name)) { | 2765 if (defined(_res_target_name)) { |
| 2765 deps += [ ":$_res_target_name" ] | 2766 deps += [ ":$_res_target_name" ] |
| 2766 } | 2767 } |
| 2767 } | 2768 } |
| 2768 } | 2769 } |
| 2769 } | 2770 } |
| OLD | NEW |