From 47c25416ffa00e5568908ab58ed76973f229b9b9 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Mon, 2 Dec 2013 15:25:50 +0000 Subject: [PATCH] Disable deprecated V8 APIs when building Except for Mac. On Mac, we need to wait for one additional V8 roll. BUG=322505 TBR=dcarney@chromium.org Review URL: https://codereview.chromium.org/98543005 git-svn-id: http://src.chromium.org/svn/trunk/src/build@238106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.gypi b/common.gypi index 025b0753f..8259fd1c1 100644 --- a/common.gypi +++ b/common.gypi @@ -2007,6 +2007,10 @@ 'ANGLE_DX11', ], 'conditions': [ + # TODO(jochen): Enable this unconditionally. + ['OS!="mac"', { + 'defines': ['V8_DEPRECATION_WARNINGS'], + }], ['(OS=="mac" or OS=="ios") and asan==1', { 'dependencies': [ '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',