Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2205)

Unified Diff: build/common.gypi

Issue 83523002: Disable deprecated V8 APIs when building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d2bb8d86e4a3ed367b348978aea36c1bf836b83a..9795996d05a8ca4c898752098833ec780876f72e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1208,6 +1208,9 @@
# Turns on the i18n support in V8.
'v8_enable_i18n_support': 1,
+ # Don't use deprecated V8 APIs.
+ 'v8_deprecation_warnings': 1,
+
# Use the chromium skia by default.
'use_system_skia%': '0',
@@ -2004,6 +2007,9 @@
'ANGLE_DX11',
],
'conditions': [
+ ['v8_deprecation_warnings==1', {
+ 'defines': ['V8_DEPRECATION_WARNINGS',],
+ }],
['(OS=="mac" or OS=="ios") and asan==1', {
'dependencies': [
'<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698