Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index c31d40eca76c4597f5b622c469e2bf58330edd0d..8920e95abccd1509fa67b70ac27c73ea6c83c701 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -1093,5 +1093,9 @@ template("deps_dex") { |
output = invoker.dex_path |
dex_arg_key = "${rebased_build_config}:final_dex:dependency_dex_files" |
args = [ "--inputs=@FileArg($dex_arg_key)" ] |
+ if (defined(invoker.excluded_jars)) { |
+ excluded_jars = rebase_path(invoker.excluded_jars, root_build_dir) |
+ args += [ "--excluded-paths=${excluded_jars}" ] |
+ } |
} |
} |