summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-05-26 11:48:05 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-05-26 11:48:05 -0700
commit75392b3b36b8261a7ac5c8746359f738de9754e8 (patch)
tree10a6d3864b817abaafab9377708ecf88b0f4f804 /pdfium.gyp
parent5dc4f24637d353d4d777c251f6d8c5746e062e7e (diff)
downloadpdfium-75392b3b36b8261a7ac5c8746359f738de9754e8.tar.xz
Move linker settings from standalone.gypi to pdfium.gyp, since they're needed when linking pdfium_test as part of other projects' gyp files as well where standalone.gypi isn't used.
R=scottmg@chromium.org Review URL: https://codereview.chromium.org/302453004
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp17
1 files changed, 17 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 9f2cd3d228..1b0bae01b0 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -119,7 +119,24 @@
'fpdfsdk/src/fpdfsdkdll.rc',
],
}],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
+ ],
+ },
+ }],
],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ 'advapi32.lib',
+ 'gdi32.lib',
+ 'user32.lib',
+ ],
+ },
+ },
},
{
'target_name': 'fdrm',