Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index a77fac24fa3860f738cfa7149711ff6ecbde44ea..dacfad3451596461a92505f6a01e9deaab229293 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -5,9 +5,15 @@ |
import("//build/config/crypto.gni") |
import("//build/config/features.gni") |
import("//build/config/ui.gni") |
-import("//tools/grit/grit_rule.gni") |
import("//url/config.gni") |
+# TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. |
+# Currently, that file can't be imported multiple times. Make this always |
+# imported when http://crbug.com/393704 is fixed. |
+if (!is_android) { |
+ import("//tools/grit/grit_rule.gni") |
+} |
+ |
if (is_android) { |
import("//build/config/android/config.gni") |
import("//build/config/android/rules.gni") |