| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 invoker.jar_path, | 86 invoker.jar_path, |
| 87 invoker.build_config, | 87 invoker.build_config, |
| 88 ] | 88 ] |
| 89 deps += [ "//build/android:prepare_android_lint_cache" ] | 89 deps += [ "//build/android:prepare_android_lint_cache" ] |
| 90 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir) | 90 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir) |
| 91 _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) | 91 _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) |
| 92 args += [ | 92 args += [ |
| 93 "--jar-path", | 93 "--jar-path", |
| 94 rebase_path(invoker.jar_path, root_build_dir), | 94 rebase_path(invoker.jar_path, root_build_dir), |
| 95 "--java-files=$_rebased_java_files", | 95 "--java-files=$_rebased_java_files", |
| 96 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", | 96 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath)"
, |
| 97 ] | 97 ] |
| 98 } | 98 } |
| 99 } | 99 } |
| 100 } | 100 } |
| 101 | 101 |
| 102 template("proguard") { | 102 template("proguard") { |
| 103 action(target_name) { | 103 action(target_name) { |
| 104 set_sources_assignment_filter([]) | 104 set_sources_assignment_filter([]) |
| 105 forward_variables_from(invoker, | 105 forward_variables_from(invoker, |
| 106 [ | 106 [ |
| (...skipping 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2204 | 2204 |
| 2205 args = [ | 2205 args = [ |
| 2206 "--depfile", | 2206 "--depfile", |
| 2207 rebase_path(depfile, root_build_dir), | 2207 rebase_path(depfile, root_build_dir), |
| 2208 "--script-output-path", | 2208 "--script-output-path", |
| 2209 rebase_path(generated_script, root_build_dir), | 2209 rebase_path(generated_script, root_build_dir), |
| 2210 ] | 2210 ] |
| 2211 args += test_runner_args | 2211 args += test_runner_args |
| 2212 } | 2212 } |
| 2213 } | 2213 } |
| OLD | NEW |