Index: chrome/chrome_exe.gypi |
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi |
index 9d7819c51990386af1377b20cd78ee80a0d1d51f..dcb5781cb07ee34776e2517f8a6a6bfad1956d06 100644 |
--- a/chrome/chrome_exe.gypi |
+++ b/chrome/chrome_exe.gypi |
@@ -42,6 +42,19 @@ |
'INFOPLIST_FILE': 'app/app-Info.plist', |
}, |
'conditions': [ |
+ ['order_profiling!=0 and (chromeos==1 or OS=="linux")', { |
+ 'dependencies' : [ |
+ '../base/cygprofile/cygprofile.gyp:cygprofile', |
+ ], |
+ }], |
+ ['order_text_section!="" and (chromeos==1 or OS=="linux")', { |
+ 'target_conditions' : [ |
+ ['_toolset=="target"', { |
+ 'ldflags': [ |
+ '-Wl,-section-ordering-file=<(order_text_section)' ], |
+ }], |
+ ] |
+ }], # order_text_section!=0 |
['OS == "android"', { |
# Don't put the 'chrome' target in 'all' on android |
'suppress_wildcard': 1, |