diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-05-20 10:07:00 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-05-20 10:07:00 +0200 |
commit | b190fc2214b2926873b342a39a85c27dc234ae1f (patch) | |
tree | 44f84f286b9d5204d1ad1e0c7ee57bd724a5b0cc /build | |
parent | 981a3468319eb24e696bb64ba84d9631fd26f1f7 (diff) | |
download | pdfium-b190fc2214b2926873b342a39a85c27dc234ae1f.tar.xz |
Turn on warnings for usage of disabled V8 APIs
R=vogelheim@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1146933002
Diffstat (limited to 'build')
-rw-r--r-- | build/standalone.gypi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi index 186db6e496..c0eaef419d 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -161,6 +161,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)', @@ -283,4 +287,4 @@ # See comment in Chromium's common.gypi for why this is needed. 'SYMROOT': '<(DEPTH)/xcodebuild', } -}
\ No newline at end of file +} |