summaryrefslogtreecommitdiffstats
path: root/sync/sync.gyp
diff options
context:
space:
mode:
authorjiangj <jiangj@opera.com>2015-04-18 06:29:06 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-18 13:29:23 +0000
commit2bd42fdbfab81b645ac926bd115e2a0762426b64 (patch)
treedbeba7e0f690aa4ed0efc41c223e4fa5a892e4b6 /sync/sync.gyp
parent611f311a54cdba7a14bc3c15a0f9a17493cfbd1d (diff)
downloadchromium_src-2bd42fdbfab81b645ac926bd115e2a0762426b64.zip
chromium_src-2bd42fdbfab81b645ac926bd115e2a0762426b64.tar.gz
chromium_src-2bd42fdbfab81b645ac926bd115e2a0762426b64.tar.bz2
Reland: Fix errors found in Mac gn component builds
This is relanding https://codereview.chromium.org/1087873003 which was reverted in https://codereview.chromium.org/1089773003/. Mac gn component build fail because of missing frameworks and missing some other dependencies, and occasionally file list out of sync with the gyp counterpart: http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_dbg/builds/321/steps/compile/logs/stdio For instance, the frameworks linked in the components that sync depends on is not automatically linked into sync, thus revealing the issue. BUG=477710 Review URL: https://codereview.chromium.org/1098513002 Cr-Commit-Position: refs/heads/master@{#325771}
Diffstat (limited to 'sync/sync.gyp')
-rw-r--r--sync/sync.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/sync/sync.gyp b/sync/sync.gyp
index 0151223..6e47201 100644
--- a/sync/sync.gyp
+++ b/sync/sync.gyp
@@ -460,6 +460,14 @@
'../chromeos/chromeos.gyp:chromeos',
],
}],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ # Required by get_session_name_mac.mm on Mac.
+ '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
+ ]
+ },
+ }],
],
},
{