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/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/zip.gni") | 7 import("//build/config/zip.gni") |
8 import("//third_party/ijar/ijar.gni") | 8 import("//third_party/ijar/ijar.gni") |
9 | 9 |
10 assert(is_android) | 10 assert(is_android) |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 forward_variables_from(invoker, [ "testonly" ]) | 191 forward_variables_from(invoker, [ "testonly" ]) |
192 | 192 |
193 _main_class = invoker.main_class | 193 _main_class = invoker.main_class |
194 _build_config = invoker.build_config | 194 _build_config = invoker.build_config |
195 _jar_path = invoker.jar_path | 195 _jar_path = invoker.jar_path |
196 _script_name = invoker.script_name | 196 _script_name = invoker.script_name |
197 | 197 |
198 action(target_name) { | 198 action(target_name) { |
199 script = "//build/android/gyp/create_java_binary_script.py" | 199 script = "//build/android/gyp/create_java_binary_script.py" |
200 depfile = "$target_gen_dir/$_script_name.d" | 200 depfile = "$target_gen_dir/$_script_name.d" |
201 java_script = "$root_build_dir/bin/helper/$_script_name" | 201 java_script = "$root_build_dir/bin/$_script_name" |
202 inputs = [ | 202 inputs = [ |
203 _build_config, | 203 _build_config, |
204 ] | 204 ] |
205 outputs = [ | 205 outputs = [ |
206 depfile, | 206 depfile, |
207 java_script, | 207 java_script, |
208 ] | 208 ] |
209 forward_variables_from(invoker, [ "deps" ]) | 209 forward_variables_from(invoker, [ "deps" ]) |
210 _rebased_build_config = rebase_path(_build_config, root_build_dir) | 210 _rebased_build_config = rebase_path(_build_config, root_build_dir) |
211 args = [ | 211 args = [ |
(...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 ] | 2159 ] |
2160 args = [ | 2160 args = [ |
2161 "--depfile", | 2161 "--depfile", |
2162 rebase_path(depfile, root_build_dir), | 2162 rebase_path(depfile, root_build_dir), |
2163 "--script-output-path", | 2163 "--script-output-path", |
2164 rebase_path(generated_script, root_build_dir), | 2164 rebase_path(generated_script, root_build_dir), |
2165 ] | 2165 ] |
2166 args += test_runner_args | 2166 args += test_runner_args |
2167 } | 2167 } |
2168 } | 2168 } |
OLD | NEW |