[go: nahoru, domu]

Adding net to dependencies.
Removing //gin from dependency on iOS.

BUG=459705

Review URL: https://codereview.chromium.org/1306753003

Cr-Commit-Position: refs/heads/master@{#345069}
diff --git a/BUILD.gn b/BUILD.gn
index cb1880b..5ec13e1 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -68,6 +68,7 @@
     "//base:base_unittests",
     "//sql:sql_unittests",
     "//ui/base:ui_base_unittests",
+    "//net:net_unittests",
   ]
 
   if (!is_ios) {
@@ -107,7 +108,6 @@
       "//net:hpack_fuzz_mutator",
       "//net:hpack_fuzz_wrapper",
       "//net:net_perftests",
-      "//net:net_unittests",
       "//ppapi:ppapi_unittests",
       "//ppapi/examples/2d",
       "//ppapi/examples/audio",
diff --git a/net/BUILD.gn b/net/BUILD.gn
index fae9f3d..d7173cee 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1362,7 +1362,6 @@
     "//crypto",
     "//crypto:platform",
     "//crypto:test_support",
-    "//gin",
     "//net/base/registry_controlled_domains",
     "//sql",
     "//testing/gmock",
@@ -1371,6 +1370,9 @@
     "//url",
   ]
 
+  if (!is_ios) {
+    deps += [ "//gin" ]
+  }
   data = [
     "data/",
   ]