Specify system framework dependencies properly in .gyp files.

R=rsesek@chromium.org

Review URL: https://codereview.chromium.org/588073004
This commit is contained in:
Mark Mentovai 2014-09-22 14:06:06 -04:00
parent 4517d7c866
commit 0d8f67c1f5
2 changed files with 13 additions and 0 deletions

View File

@ -72,6 +72,12 @@
'include_dirs': [
'..',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
],
},
'sources': [
'on_demand_service_tool.mm',
],

View File

@ -25,6 +25,13 @@
'..',
'<(INTERMEDIATE_DIR)',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
'$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
],
},
'sources': [
'file/fd_io.cc',
'file/fd_io.h',