| 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", | 
| 90       ] | 91       ] | 
| 91     } | 92     } | 
| 92   } | 93   } | 
| 93 } | 94 } | 
| 94 | 95 | 
| 95 template("proguard") { | 96 template("proguard") { | 
| 96   action(target_name) { | 97   action(target_name) { | 
| 97     set_sources_assignment_filter([]) | 98     set_sources_assignment_filter([]) | 
| 98     forward_variables_from(invoker, | 99     forward_variables_from(invoker, | 
| 99                            [ | 100                            [ | 
| (...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2175     ] | 2176     ] | 
| 2176     args = [ | 2177     args = [ | 
| 2177       "--depfile", | 2178       "--depfile", | 
| 2178       rebase_path(depfile, root_build_dir), | 2179       rebase_path(depfile, root_build_dir), | 
| 2179       "--script-output-path", | 2180       "--script-output-path", | 
| 2180       rebase_path(generated_script, root_build_dir), | 2181       rebase_path(generated_script, root_build_dir), | 
| 2181     ] | 2182     ] | 
| 2182     args += test_runner_args | 2183     args += test_runner_args | 
| 2183   } | 2184   } | 
| 2184 } | 2185 } | 
| OLD | NEW | 
|---|