Chromium Code Reviews| Index: build/config/android/internal_rules.gni |
| diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
| index d33c2003308a6d0b09917047a1a8266413ef1b65..f0fd9730a1f46680e17a98d4eb9315fd4fe39b3e 100644 |
| --- a/build/config/android/internal_rules.gni |
| +++ b/build/config/android/internal_rules.gni |
| @@ -811,6 +811,17 @@ template("java_library_impl") { |
| sources = [_jar_path] |
| output = _dex_path |
| } |
| + |
| + if (defined(invoker.standalone_dex_path)) { |
| + _final_deps += [ ":${_template_name}__standalone_dex" ] |
| + _rebased_build_config = rebase_path(_build_config, root_build_dir) |
| + dex("${_template_name}__standalone_dex") { |
| + sources = [_jar_path] |
|
cjhopman
2014/12/01 21:47:07
add:
inputs = [ _build_config ]
ppi
2014/12/02 16:28:17
Done.
|
| + output = invoker.standalone_dex_path |
| + dex_arg_key = "${_rebased_build_config}:final_dex:dependency_dex_files" |
| + args = [ "--inputs=@FileArg($dex_arg_key)" ] |
| + } |
| + } |
| } |
| group(target_name) { |