| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is only included in full-chromium builds, and overrides the | 5 # This file is only included in full-chromium builds, and overrides the |
| 6 # feature_defines variable in third_party/WebKit/WebKit/chromium/features.gypi. | 6 # feature_defines variable in third_party/WebKit/WebKit/chromium/features.gypi. |
| 7 { | 7 { |
| 8 'variables': { | 8 'variables': { |
| 9 # WARNING: This list of strings completely replaces the list in | 9 # WARNING: This list of strings completely replaces the list in |
| 10 # features.gypi. Therefore, if an enable is listed in features.gypi | 10 # features.gypi. Therefore, if an enable is listed in features.gypi |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 'ENABLE_JSC_MULTIPLE_THREADS=0', | 24 'ENABLE_JSC_MULTIPLE_THREADS=0', |
| 25 'ENABLE_ICONDATABASE=0', | 25 'ENABLE_ICONDATABASE=0', |
| 26 'ENABLE_NOTIFICATIONS=1', | 26 'ENABLE_NOTIFICATIONS=1', |
| 27 'ENABLE_OPENTYPE_SANITIZER=1', | 27 'ENABLE_OPENTYPE_SANITIZER=1', |
| 28 'ENABLE_ORIENTATION_EVENTS=0', | 28 'ENABLE_ORIENTATION_EVENTS=0', |
| 29 'ENABLE_RUBY=1', | 29 'ENABLE_RUBY=1', |
| 30 'ENABLE_SANDBOX=1', | 30 'ENABLE_SANDBOX=1', |
| 31 'ENABLE_XSLT=1', | 31 'ENABLE_XSLT=1', |
| 32 'ENABLE_XPATH=1', | 32 'ENABLE_XPATH=1', |
| 33 'ENABLE_SHARED_WORKERS=1', | 33 'ENABLE_SHARED_WORKERS=1', |
| 34 'ENABLE_SVG=1', | 34 'ENABLE_SVG=<(enable_svg)', |
| 35 'ENABLE_SVG_ANIMATION=1', | 35 'ENABLE_SVG_ANIMATION=<(enable_svg)', |
| 36 'ENABLE_SVG_AS_IMAGE=1', | 36 'ENABLE_SVG_AS_IMAGE=<(enable_svg)', |
| 37 'ENABLE_SVG_USE=1', | 37 'ENABLE_SVG_USE=<(enable_svg)', |
| 38 'ENABLE_SVG_FOREIGN_OBJECT=1', | 38 'ENABLE_SVG_FOREIGN_OBJECT=<(enable_svg)', |
| 39 'ENABLE_SVG_FONTS=1', | 39 'ENABLE_SVG_FONTS=<(enable_svg)', |
| 40 'ENABLE_VIDEO=1', | 40 'ENABLE_VIDEO=1', |
| 41 'ENABLE_WEB_SOCKETS=1', | 41 'ENABLE_WEB_SOCKETS=1', |
| 42 'ENABLE_WORKERS=1', | 42 'ENABLE_WORKERS=1', |
| 43 ], | 43 ], |
| 44 # We have to nest variables inside variables so that they can be overridden | 44 # We have to nest variables inside variables so that they can be overridden |
| 45 # through GYP_DEFINES. | 45 # through GYP_DEFINES. |
| 46 'variables': { | 46 'variables': { |
| 47 'use_accelerated_compositing%':0, | 47 'use_accelerated_compositing%': 0, |
| 48 'enable_svg%': 1, |
| 48 }, | 49 }, |
| 49 'use_accelerated_compositing%': '<(use_accelerated_compositing)', | 50 'use_accelerated_compositing%': '<(use_accelerated_compositing)', |
| 51 'enable_svg%': '<(enable_svg)', |
| 50 'conditions': [ | 52 'conditions': [ |
| 51 ['use_accelerated_compositing==1', { | 53 ['use_accelerated_compositing==1', { |
| 52 'feature_defines': ['WTF_USE_ACCELERATED_COMPOSITING=1'], | 54 'feature_defines': ['WTF_USE_ACCELERATED_COMPOSITING=1'], |
| 53 }], | 55 }], |
| 54 ], | 56 ], |
| 55 # TODO: If the need arises, create a mechanism that will intelligently | 57 # TODO: If the need arises, create a mechanism that will intelligently |
| 56 # merge the lists rather than replace one with the other. This may | 58 # merge the lists rather than replace one with the other. This may |
| 57 # require changes in gyp. | 59 # require changes in gyp. |
| 58 }, | 60 }, |
| 59 | 61 |
| 60 } | 62 } |
| 61 | 63 |
| 62 # Local Variables: | 64 # Local Variables: |
| 63 # tab-width:2 | 65 # tab-width:2 |
| 64 # indent-tabs-mode:nil | 66 # indent-tabs-mode:nil |
| 65 # End: | 67 # End: |
| 66 # vim: set expandtab tabstop=2 shiftwidth=2: | 68 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |