| 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 | 6 |
| 7 assert(is_android) | 7 assert(is_android) |
| 8 | 8 |
| 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) | 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) |
| 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) | 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 rebased_build_config = rebase_path(build_config, root_build_dir) | 1088 rebased_build_config = rebase_path(build_config, root_build_dir) |
| 1089 dex(target_name) { | 1089 dex(target_name) { |
| 1090 inputs = [ | 1090 inputs = [ |
| 1091 build_config, | 1091 build_config, |
| 1092 ] | 1092 ] |
| 1093 output = invoker.dex_path | 1093 output = invoker.dex_path |
| 1094 dex_arg_key = "${rebased_build_config}:final_dex:dependency_dex_files" | 1094 dex_arg_key = "${rebased_build_config}:final_dex:dependency_dex_files" |
| 1095 args = [ "--inputs=@FileArg($dex_arg_key)" ] | 1095 args = [ "--inputs=@FileArg($dex_arg_key)" ] |
| 1096 if (defined(invoker.excluded_jars)) { |
| 1097 excluded_jars = rebase_path(invoker.excluded_jars, root_build_dir) |
| 1098 args += [ "--excluded-paths=${excluded_jars}" ] |
| 1099 } |
| 1096 } | 1100 } |
| 1097 } | 1101 } |
| OLD | NEW |