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

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

Issue 2083153002: [Mac/GN] Let //chrome/browser:browser be a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: global -ObjC Created 4 years, 6 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 | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mac/BUILD.gn
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn
index 72ba5aa7af203447b8c77fe346479e8da5f1287f..f3ed5bafeae058fc34e2db2e4dc9803e842253b5 100644
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -68,7 +68,7 @@ config("runtime_library") {
# On Mac, this is used for everything except static libraries.
config("mac_dynamic_flags") {
- ldflags = []
+ ldflags = [ "-Wl,-ObjC" ] # Always load Objective-C categories and classes.
if (is_component_build) {
ldflags += [
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698