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

Unified Diff: build/config/ios/BUILD.gn

Issue 1130153009: Update build configuration to support iOS targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/BUILD.gn
diff --git a/build/config/ios/BUILD.gn b/build/config/ios/BUILD.gn
index 471f28a7c6b848e129798ba09de0fd3592cfc460..0539810f818dd46564a57cff05e4ca1a5723bd48 100644
--- a/build/config/ios/BUILD.gn
+++ b/build/config/ios/BUILD.gn
@@ -11,12 +11,12 @@ config("sdk") {
sysroot,
]
- cflags = common_flags
- ldflags = common_flags
-
if (use_ios_simulator) {
- cflags += [ "-mios-simulator-version-min=$ios_deployment_target" ]
+ common_flags += [ "-mios-simulator-version-min=$ios_deployment_target" ]
} else {
- cflags += [ "-miphoneos-version-min=$ios_deployment_target" ]
+ common_flags += [ "-miphoneos-version-min=$ios_deployment_target" ]
}
+
+ cflags = common_flags
+ ldflags = common_flags
}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698