diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 20:38:42 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 20:38:42 +0000 |
commit | 171121fdbe77f2fc899339ba38484903784fa400 (patch) | |
tree | 3033c7f9c7189fe3719687d2d80812b909cac8e6 /build | |
parent | 96997a53442ca17ccadb816838f641b0cde568e9 (diff) | |
download | chromium_src-171121fdbe77f2fc899339ba38484903784fa400.zip chromium_src-171121fdbe77f2fc899339ba38484903784fa400.tar.gz chromium_src-171121fdbe77f2fc899339ba38484903784fa400.tar.bz2 |
Added utility to compile webkit with WTF_USE_ACCELERATED_COMPOSITING flag. We just need to set GYP_DEFINES=use_accelerated_compositing=1. It is set to 0 by default. Part of the changes is under webkit which I will send in a different CL.
Review URL: http://codereview.chromium.org/605006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/features_override.gypi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/features_override.gypi b/build/features_override.gypi index 33873b5..a8bf515 100644 --- a/build/features_override.gypi +++ b/build/features_override.gypi @@ -40,6 +40,17 @@ 'ENABLE_WEB_SOCKETS=1', 'ENABLE_WORKERS=1', ], + # We have to nest variables inside variables so that they can be overridden + # through GYP_DEFINES. + 'variables': { + 'use_accelerated_compositing%':0, + }, + 'use_accelerated_compositing%': '<(use_accelerated_compositing)', + 'conditions': [ + ['use_accelerated_compositing==1', { + 'feature_defines': ['WTF_USE_ACCELERATED_COMPOSITING=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. |