summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-05-26 18:27:11 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-05-26 18:27:11 -0700
commit2611932c1dea188078be8b59801285cbbdc0fcf1 (patch)
treec609c082ae5e5840189091168599df956fa03de4
parent7dc5172decb2e2fa8885561ff473902f6e16c707 (diff)
downloadpdfium-2611932c1dea188078be8b59801285cbbdc0fcf1.tar.xz
Fix build error on Windows stand alone build.
R=scottmg@chromium.org Review URL: https://codereview.chromium.org/299353008
-rw-r--r--pdfium.gyp32
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',
+ ],
+ },
+ }],
+ ],
},
},
{