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

Unified Diff: chrome/common/net/BUILD.gn

Issue 2769483002: Don't check is_ios in chrome/, it's always false there. (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/common/features.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/BUILD.gn
diff --git a/chrome/common/net/BUILD.gn b/chrome/common/net/BUILD.gn
index b21b2ff891cf820e2d53ec8bf1735d723ce66afa..73bc725e065e547ec9ef628da175b01e7d4edb1e 100644
--- a/chrome/common/net/BUILD.gn
+++ b/chrome/common/net/BUILD.gn
@@ -4,6 +4,8 @@
import("//build/config/crypto.gni")
+assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome")
+
static_library("net") {
sources = [
"net_resource_provider.cc",
@@ -28,11 +30,7 @@ static_library("net") {
"//ui/base",
]
- if (is_ios) {
- sources -= [ "net_resource_provider.cc" ]
- }
-
- if (is_android || is_ios) {
+ if (is_android) {
sources -= [ "x509_certificate_model.cc" ]
}
« no previous file with comments | « chrome/common/features.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698