summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 23:08:42 +0000
committeryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 23:08:42 +0000
commit21415977868b59b883370ceaba6dcbc7e4fe08c7 (patch)
treefedf9b2aaf75a581786f93f1faec7d32a94112f6 /build
parentc706ac3791b4a8908ad53e27308cdef798f0f6ff (diff)
downloadchromium_src-21415977868b59b883370ceaba6dcbc7e4fe08c7.zip
chromium_src-21415977868b59b883370ceaba6dcbc7e4fe08c7.tar.gz
chromium_src-21415977868b59b883370ceaba6dcbc7e4fe08c7.tar.bz2
Override mechanism for features.gypi
This will allow us to have a different set of feature_defines for upstream and downstream webkit builds. Review URL: http://codereview.chromium.org/242102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/features_override.gypi41
1 files changed, 41 insertions, 0 deletions
diff --git a/build/features_override.gypi b/build/features_override.gypi
new file mode 100644
index 0000000..2023705
--- /dev/null
+++ b/build/features_override.gypi
@@ -0,0 +1,41 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file is only included in full-chromium builds, and overrides the
+# feature_defines variable in third_party/WebKit/WebKit/chromium/features.gypi.
+{
+ 'variables': {
+ # WARNING: This list of strings completely replaces the list in
+ # features.gypi. Therefore, if an enable is listed in features.gypi
+ # but not listed below, it will revert to its hardcoded webkit value.
+ 'feature_defines': [
+ 'ENABLE_3D_CANVAS=0',
+ 'ENABLE_CHANNEL_MESSAGING=1',
+ 'ENABLE_DATABASE=1',
+ 'ENABLE_DATAGRID=0',
+ 'ENABLE_OFFLINE_WEB_APPLICATIONS=1',
+ 'ENABLE_DASHBOARD_SUPPORT=0',
+ 'ENABLE_DOM_STORAGE=1',
+ 'ENABLE_JAVASCRIPT_DEBUGGER=0',
+ 'ENABLE_JSC_MULTIPLE_THREADS=0',
+ 'ENABLE_ICONDATABASE=0',
+ 'ENABLE_NOTIFICATIONS=0',
+ 'ENABLE_ORIENTATION_EVENTS=0',
+ 'ENABLE_XSLT=1',
+ 'ENABLE_XPATH=1',
+ 'ENABLE_SHARED_WORKERS=0',
+ 'ENABLE_SVG=1',
+ 'ENABLE_SVG_ANIMATION=1',
+ 'ENABLE_SVG_AS_IMAGE=1',
+ 'ENABLE_SVG_USE=1',
+ 'ENABLE_SVG_FOREIGN_OBJECT=1',
+ 'ENABLE_SVG_FONTS=1',
+ 'ENABLE_VIDEO=1',
+ 'ENABLE_WORKERS=1',
+ ],
+ # TODO: If the need arises, create a mechanism that will intelligently
+ # merge the lists rather than replace one with the other. This may
+ # require changes in gyp.
+ },
+} \ No newline at end of file