From 60b225e0c9a86e5fc22e2b4d0f2f13c93f77ec70 Mon Sep 17 00:00:00 2001 From: estevenson Date: Mon, 14 Nov 2016 16:14:30 -0800 Subject: [PATCH] Fix inputs for main_dex_list action. BUG= Review-Url: https://codereview.chromium.org/2500113003 Cr-Original-Commit-Position: refs/heads/master@{#432007} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 237ee6948e7127d4d8e2022a63d26410d1080378 --- config/android/internal_rules.gni | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/android/internal_rules.gni b/config/android/internal_rules.gni index 429c615b8..6a7cda3bc 100644 --- a/config/android/internal_rules.gni +++ b/config/android/internal_rules.gni @@ -912,6 +912,11 @@ if (enable_java_templates) { main_dex_rules = "//build/android/main_dex_classes.flags" + if (!defined(inputs)) { + inputs = [] + } + inputs += [ main_dex_rules ] + outputs = [ _main_dex_list_path, ]