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

Unified Diff: build/config/ios/rules.gni

Issue 2024673002: [iOS] Always pass "-ObjC" when linking iOS executables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@{1}
Patch Set: Rebase on top of https://codereview.chromium.org/2019403002 Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/rules.gni
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
index 2ca42d829bc8e4b440f3eea3fdead624c06d723d..3e2b4f4ce15a664e5fe3277f9cca31f2f91d2d23 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -141,6 +141,10 @@ template("ios_app_bundle") {
libs = []
}
libs += [ "UIKit.framework" ]
+ if (!defined(ldflags)) {
+ ldflags = []
+ }
+ ldflags += [ "-ObjC" ]
}
bundle_data(_bundle_data_executable) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698