| 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/zip.gni") | 6 import("//build/config/zip.gni") |
| 7 import("//third_party/ijar/ijar.gni") | 7 import("//third_party/ijar/ijar.gni") |
| 8 | 8 |
| 9 assert(is_android) | 9 assert(is_android) |
| 10 | 10 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 args = [ | 193 args = [ |
| 194 "--depfile", | 194 "--depfile", |
| 195 rebase_path(depfile, root_build_dir), | 195 rebase_path(depfile, root_build_dir), |
| 196 "--android-sdk-tools", | 196 "--android-sdk-tools", |
| 197 rebased_android_sdk_build_tools, | 197 rebased_android_sdk_build_tools, |
| 198 "--dex-path", | 198 "--dex-path", |
| 199 rebased_output, | 199 rebased_output, |
| 200 ] | 200 ] |
| 201 | 201 |
| 202 if (incremental_dx) { |
| 203 args += [ "--incremental" ] |
| 204 } |
| 205 |
| 202 if (defined(invoker.no_locals) && invoker.no_locals) { | 206 if (defined(invoker.no_locals) && invoker.no_locals) { |
| 203 args += [ "--no-locals=1" ] | 207 args += [ "--no-locals=1" ] |
| 204 } | 208 } |
| 205 | 209 |
| 206 if (defined(invoker.args)) { | 210 if (defined(invoker.args)) { |
| 207 args += invoker.args | 211 args += invoker.args |
| 208 } | 212 } |
| 209 | 213 |
| 210 if (defined(invoker.sources)) { | 214 if (defined(invoker.sources)) { |
| 211 args += rebase_path(invoker.sources, root_build_dir) | 215 args += rebase_path(invoker.sources, root_build_dir) |
| (...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 ] | 1655 ] |
| 1652 args = [ | 1656 args = [ |
| 1653 "--depfile", | 1657 "--depfile", |
| 1654 rebase_path(depfile, root_build_dir), | 1658 rebase_path(depfile, root_build_dir), |
| 1655 "--script-output-path", | 1659 "--script-output-path", |
| 1656 rebase_path(generated_script, root_build_dir), | 1660 rebase_path(generated_script, root_build_dir), |
| 1657 ] | 1661 ] |
| 1658 args += test_runner_args | 1662 args += test_runner_args |
| 1659 } | 1663 } |
| 1660 } | 1664 } |
| OLD | NEW |