Index: tools/grit/grit_rule.gni |
diff --git a/tools/grit/grit_rule.gni b/tools/grit/grit_rule.gni |
index d1207ad63e5f0eb641a95686d8681779834d7bb9..2f9e2129671f1021a8c11d26f8d6e049556bf0b5 100644 |
--- a/tools/grit/grit_rule.gni |
+++ b/tools/grit/grit_rule.gni |
@@ -78,18 +78,13 @@ |
# # You can also put deps here if the grit source depends on generated |
# # files. |
# } |
+import("//build/config/android/config.gni") |
import("//build/config/chrome_build.gni") |
import("//build/config/crypto.gni") |
import("//build/config/features.gni") |
import("//build/config/ui.gni") |
import("//third_party/closure_compiler/closure_args.gni") |
-declare_args() { |
- # Enables used resource whitelist generation. Set for official builds only |
- # as a large amount of build output is generated. |
- enable_resource_whitelist_generation = is_android && is_official_build |
-} |
- |
assert(!enable_resource_whitelist_generation || is_android, |
"resource whitelist generation only works on android") |