summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-05-20 10:49:45 +0200
committerJochen Eisinger <jochen@chromium.org>2015-05-20 10:49:45 +0200
commit90a4181194dd8eca153cf2a101ec27e382b27a58 (patch)
tree29c54fc0e9664431ab7e393b802708e84c58e12b /build/standalone.gypi
parent6ecf19ced0de2d41720b4067171e751ca38c8ba2 (diff)
downloadpdfium-90a4181194dd8eca153cf2a101ec27e382b27a58.tar.xz
Fix compilation on xfa branch and turn on v8 deprecation warnings
R=vogelheim@chromium.org BUG= Review URL: https://codereview.chromium.org/1142293003
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 87fe3445ab..a8818db720 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -157,6 +157,10 @@
'ldflags': [
'-pthread',
],
+ 'defines': [
+ # Don't use deprecated V8 APIs anywhere.
+ 'V8_DEPRECATION_WARNINGS',
+ ],
'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'],
'msvs_configuration_attributes': {
'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
@@ -279,4 +283,4 @@
# See comment in Chromium's common.gypi for why this is needed.
'SYMROOT': '<(DEPTH)/xcodebuild',
}
-} \ No newline at end of file
+}