diff options
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 1b0bae01b0..e8e706e94d 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -119,23 +119,27 @@ 'fpdfsdk/src/fpdfsdkdll.rc', ], }], - ['OS=="mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', - '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', + ], + 'all_dependent_settings': { + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalDependencies': [ + 'advapi32.lib', + 'gdi32.lib', + 'user32.lib', ], }, - }], - ], - 'msvs_settings': { - 'VCLinkerTool': { - 'AdditionalDependencies': [ - 'advapi32.lib', - 'gdi32.lib', - 'user32.lib', - ], }, + 'conditions': [ + ['OS=="mac"', { + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', + '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', + ], + }, + }], + ], }, }, { |