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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 args = [ | 114 args = [ |
115 "--depfile", | 115 "--depfile", |
116 rebase_path(depfile, root_build_dir), | 116 rebase_path(depfile, root_build_dir), |
117 "--proguard-path", | 117 "--proguard-path", |
118 rebase_path(_proguard_jar_path, root_build_dir), | 118 rebase_path(_proguard_jar_path, root_build_dir), |
119 "--output-path", | 119 "--output-path", |
120 rebase_path(_output_jar_path, root_build_dir), | 120 rebase_path(_output_jar_path, root_build_dir), |
121 "--classpath", | 121 "--classpath", |
122 _rebased_android_sdk_jar, | 122 _rebased_android_sdk_jar, |
123 ] | 123 ] |
| 124 if (proguard_verbose) { |
| 125 args += [ "--verbose" ] |
| 126 } |
124 if (defined(invoker.args)) { | 127 if (defined(invoker.args)) { |
125 args += invoker.args | 128 args += invoker.args |
126 } | 129 } |
127 } | 130 } |
128 } | 131 } |
129 | 132 |
130 template("findbugs") { | 133 template("findbugs") { |
131 jar_path = invoker.jar_path | 134 jar_path = invoker.jar_path |
132 | 135 |
133 build_config = invoker.build_config | 136 build_config = invoker.build_config |
(...skipping 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2063 ] | 2066 ] |
2064 args = [ | 2067 args = [ |
2065 "--depfile", | 2068 "--depfile", |
2066 rebase_path(depfile, root_build_dir), | 2069 rebase_path(depfile, root_build_dir), |
2067 "--script-output-path", | 2070 "--script-output-path", |
2068 rebase_path(generated_script, root_build_dir), | 2071 rebase_path(generated_script, root_build_dir), |
2069 ] | 2072 ] |
2070 args += test_runner_args | 2073 args += test_runner_args |
2071 } | 2074 } |
2072 } | 2075 } |
OLD | NEW |