| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 "--silent", | 80 "--silent", |
| 81 ] | 81 ] |
| 82 } else { | 82 } else { |
| 83 inputs += [ invoker.jar_path ] + invoker.java_files | 83 inputs += [ invoker.jar_path ] + invoker.java_files |
| 84 deps += [ "//build/android:prepare_android_lint_cache" ] | 84 deps += [ "//build/android:prepare_android_lint_cache" ] |
| 85 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir) | 85 _rebased_java_files = rebase_path(invoker.java_files, root_build_dir) |
| 86 args += [ | 86 args += [ |
| 87 "--jar-path", | 87 "--jar-path", |
| 88 rebase_path(invoker.jar_path, root_build_dir), | 88 rebase_path(invoker.jar_path, root_build_dir), |
| 89 "--java-files=$_rebased_java_files", | 89 "--java-files=$_rebased_java_files", |
| 90 "--can-fail-build", | |
| 91 ] | 90 ] |
| 92 } | 91 } |
| 93 } | 92 } |
| 94 } | 93 } |
| 95 | 94 |
| 96 template("proguard") { | 95 template("proguard") { |
| 97 action(target_name) { | 96 action(target_name) { |
| 98 set_sources_assignment_filter([]) | 97 set_sources_assignment_filter([]) |
| 99 forward_variables_from(invoker, | 98 forward_variables_from(invoker, |
| 100 [ | 99 [ |
| (...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 ] | 2175 ] |
| 2177 args = [ | 2176 args = [ |
| 2178 "--depfile", | 2177 "--depfile", |
| 2179 rebase_path(depfile, root_build_dir), | 2178 rebase_path(depfile, root_build_dir), |
| 2180 "--script-output-path", | 2179 "--script-output-path", |
| 2181 rebase_path(generated_script, root_build_dir), | 2180 rebase_path(generated_script, root_build_dir), |
| 2182 ] | 2181 ] |
| 2183 args += test_runner_args | 2182 args += test_runner_args |
| 2184 } | 2183 } |
| 2185 } | 2184 } |
| OLD | NEW |