OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 # | 29 # |
30 | 30 |
31 { | 31 { |
32 # The following defines turn WebKit features on and off. | 32 # The following defines turn WebKit features on and off. |
33 'variables': { | 33 'variables': { |
34 'feature_defines': [ | 34 'feature_defines': [ |
35 'ENABLE_3D_PLUGIN=1', | 35 'ENABLE_3D_PLUGIN=1', |
36 'ENABLE_BATTERY_STATUS=0', | 36 'ENABLE_BATTERY_STATUS=0', |
37 'ENABLE_BINDING_INTEGRITY=0', | |
38 'ENABLE_BLOB=1', | 37 'ENABLE_BLOB=1', |
39 'ENABLE_BLOB_SLICE=1', | 38 'ENABLE_BLOB_SLICE=1', |
40 'ENABLE_CHANNEL_MESSAGING=1', | 39 'ENABLE_CHANNEL_MESSAGING=1', |
41 'ENABLE_CSP_NEXT=1', | 40 'ENABLE_CSP_NEXT=1', |
42 'ENABLE_CSS3_CONDITIONAL_RULES=0', | 41 'ENABLE_CSS3_CONDITIONAL_RULES=0', |
43 'ENABLE_CSS3_TEXT=0', | 42 'ENABLE_CSS3_TEXT=0', |
44 'ENABLE_CSS_BOX_DECORATION_BREAK=1', | 43 'ENABLE_CSS_BOX_DECORATION_BREAK=1', |
45 'ENABLE_CSS_COMPOSITING=0', | 44 'ENABLE_CSS_COMPOSITING=0', |
46 'ENABLE_CSS_DEVICE_ADAPTATION=0', | 45 'ENABLE_CSS_DEVICE_ADAPTATION=0', |
47 'ENABLE_CSS_EXCLUSIONS=1', | 46 'ENABLE_CSS_EXCLUSIONS=1', |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 'ENABLE_MEDIA_CAPTURE=0', | 194 'ENABLE_MEDIA_CAPTURE=0', |
196 'ENABLE_MEDIA_STREAM=1', | 195 'ENABLE_MEDIA_STREAM=1', |
197 'ENABLE_NOTIFICATIONS=1', | 196 'ENABLE_NOTIFICATIONS=1', |
198 'ENABLE_ORIENTATION_EVENTS=0', | 197 'ENABLE_ORIENTATION_EVENTS=0', |
199 'ENABLE_PAGE_POPUP=1', | 198 'ENABLE_PAGE_POPUP=1', |
200 'ENABLE_PRINTING=1', | 199 'ENABLE_PRINTING=1', |
201 'ENABLE_SHARED_WORKERS=1', | 200 'ENABLE_SHARED_WORKERS=1', |
202 'ENABLE_WEB_AUDIO=1', | 201 'ENABLE_WEB_AUDIO=1', |
203 ], | 202 ], |
204 }], | 203 }], |
| 204 ['OS=="linux"', { |
| 205 'feature_defines': [ |
| 206 'ENABLE_BINDING_INTEGRITY=1', |
| 207 ], |
| 208 }, { # OS!="linux" |
| 209 'feature_defines': [ |
| 210 'ENABLE_BINDING_INTEGRITY=0', |
| 211 ], |
| 212 }], |
205 ['use_accelerated_compositing==1', { | 213 ['use_accelerated_compositing==1', { |
206 'feature_defines': [ | 214 'feature_defines': [ |
207 'ENABLE_3D_RENDERING=1', | 215 'ENABLE_3D_RENDERING=1', |
208 'ENABLE_ACCELERATED_2D_CANVAS=1', | 216 'ENABLE_ACCELERATED_2D_CANVAS=1', |
209 'WTF_USE_ACCELERATED_COMPOSITING=1', | 217 'WTF_USE_ACCELERATED_COMPOSITING=1', |
210 ], | 218 ], |
211 }], | 219 }], |
212 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. | 220 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. |
213 ['OS!="mac" and OS!="android"', { | 221 ['OS!="mac" and OS!="android"', { |
214 'feature_defines': [ | 222 'feature_defines': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ], | 255 ], |
248 }], | 256 }], |
249 ['use_default_render_theme==1', { | 257 ['use_default_render_theme==1', { |
250 'feature_defines': [ | 258 'feature_defines': [ |
251 'ENABLE_DEFAULT_RENDER_THEME=1', | 259 'ENABLE_DEFAULT_RENDER_THEME=1', |
252 ], | 260 ], |
253 }], | 261 }], |
254 ], | 262 ], |
255 }, | 263 }, |
256 } | 264 } |
OLD | NEW |