Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: ios/chrome/browser/net/BUILD.gn

Issue 2730213002: Clean up dependencies of //ios/chrome/browser/browser_state. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/net/BUILD.gn
diff --git a/ios/chrome/browser/net/BUILD.gn b/ios/chrome/browser/net/BUILD.gn
index 2d147ebf54e3581e1fd2c656b794b86f6f5a5d7f..c581c5982b94ae53ebb8db966156bfa48541ab42 100644
--- a/ios/chrome/browser/net/BUILD.gn
+++ b/ios/chrome/browser/net/BUILD.gn
@@ -21,7 +21,6 @@ source_set("net") {
"ios_chrome_network_delegate.h",
"ios_chrome_url_request_context_getter.cc",
"ios_chrome_url_request_context_getter.h",
- "net_types.h",
"proxy_service_factory.cc",
"proxy_service_factory.h",
"retryable_url_fetcher.h",
@@ -44,10 +43,21 @@ source_set("net") {
"//net:extras",
"//url",
]
- allow_circular_includes_from = [
- "//ios/chrome/browser",
- "//ios/chrome/browser/browser_state",
+ public_deps = [
+ ":net_types",
]
+ allow_circular_includes_from = [ "//ios/chrome/browser" ]
+}
+
+source_set("net_types") {
+ sources = [
+ "net_types.h",
+ ]
+ deps = [
+ "//base",
+ "//net",
+ ]
+ configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698