OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 | 6 # feature_defines variable in |
7 # third_party/WebKit/Source/WebKit/chromium/features.gypi. | 7 # third_party/WebKit/Source/WebKit/chromium/features.gypi. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # WARNING: This list of strings completely replaces the list in | 10 # WARNING: This list of strings completely replaces the list in |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
89 }, | 89 }, |
90 'use_accelerated_compositing%': '<(use_accelerated_compositing)', | 90 'use_accelerated_compositing%': '<(use_accelerated_compositing)', |
91 'use_threaded_compositing%': '<(use_threaded_compositing)', | 91 'use_threaded_compositing%': '<(use_threaded_compositing)', |
92 'enable_svg%': '<(enable_svg)', | 92 'enable_svg%': '<(enable_svg)', |
93 'enable_touch_events%': '<(enable_touch_events)', | 93 'enable_touch_events%': '<(enable_touch_events)', |
94 'conditions': [ | 94 'conditions': [ |
95 ['use_accelerated_compositing==1', { | 95 ['use_accelerated_compositing==1', { |
96 'feature_defines': [ | 96 'feature_defines': [ |
97 'WTF_USE_ACCELERATED_COMPOSITING=1', | 97 'WTF_USE_ACCELERATED_COMPOSITING=1', |
98 'ENABLE_3D_RENDERING=1', | 98 'ENABLE_3D_RENDERING=1', |
99 ], | |
100 'use_accelerated_compositing': 1, | |
M-A Ruel
2011/05/31 19:53:08
That line is necessary?
Mark Mentovai
2011/05/31 20:01:21
Marc-Antoine Ruel wrote:
| |
101 }], | |
102 ['use_accelerated_compositing==1 and OS!="mac"', { | |
103 'feature_defines': [ | |
99 'ENABLE_ACCELERATED_2D_CANVAS=1', | 104 'ENABLE_ACCELERATED_2D_CANVAS=1', |
100 ], | 105 ], |
101 'use_accelerated_compositing': 1, | |
102 }], | 106 }], |
103 ['use_accelerated_compositing==1 and use_threaded_compositing==1', { | 107 ['use_accelerated_compositing==1 and use_threaded_compositing==1', { |
104 'feature_defines': [ | 108 'feature_defines': [ |
105 'WTF_USE_THREADED_COMPOSITING=1', | 109 'WTF_USE_THREADED_COMPOSITING=1', |
106 ], | 110 ], |
107 'use_threaded_compositing': 1, | 111 'use_threaded_compositing': 1, |
108 }], | 112 }], |
109 # TODO(crogers): For the moment Windows is only enabled for | 113 # TODO(crogers): For the moment Windows is only enabled for |
110 # Google-branded build, since the FFmpeg DLLs need to be re-built | 114 # Google-branded build, since the FFmpeg DLLs need to be re-built |
111 # for chromium. | 115 # for chromium. |
(...skipping 19 matching lines...) Expand all Loading... | |
131 # require changes in gyp. | 135 # require changes in gyp. |
132 }, | 136 }, |
133 | 137 |
134 } | 138 } |
135 | 139 |
136 # Local Variables: | 140 # Local Variables: |
137 # tab-width:2 | 141 # tab-width:2 |
138 # indent-tabs-mode:nil | 142 # indent-tabs-mode:nil |
139 # End: | 143 # End: |
140 # vim: set expandtab tabstop=2 shiftwidth=2: | 144 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |