| 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 19 matching lines...) Expand all Loading... |
| 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_CANVAS_USES_MAILBOX=0', | 37 'ENABLE_CANVAS_USES_MAILBOX=0', |
| 38 'ENABLE_CHANNEL_MESSAGING=1', | 38 'ENABLE_CHANNEL_MESSAGING=1', |
| 39 'ENABLE_CSS3_TEXT=0', | 39 'ENABLE_CSS3_TEXT=0', |
| 40 'ENABLE_CSS3_TEXT_LINE_BREAK=0', | |
| 41 'ENABLE_CSS_COMPOSITING=0', | 40 'ENABLE_CSS_COMPOSITING=0', |
| 42 'ENABLE_CSS_DEVICE_ADAPTATION=0', | 41 'ENABLE_CSS_DEVICE_ADAPTATION=0', |
| 43 'ENABLE_CSS_EXCLUSIONS=1', | 42 'ENABLE_CSS_EXCLUSIONS=1', |
| 44 'ENABLE_CSS_IMAGE_SET=1', | 43 'ENABLE_CSS_IMAGE_SET=1', |
| 45 'ENABLE_CSS_REGIONS=1', | 44 'ENABLE_CSS_REGIONS=1', |
| 46 'ENABLE_CUSTOM_SCHEME_HANDLER=0', | 45 'ENABLE_CUSTOM_SCHEME_HANDLER=0', |
| 47 'ENABLE_ENCRYPTED_MEDIA=1', | 46 'ENABLE_ENCRYPTED_MEDIA=1', |
| 48 'ENABLE_JAVASCRIPT_I18N_API=1', | 47 'ENABLE_JAVASCRIPT_I18N_API=1', |
| 49 'ENABLE_MATHML=0', | 48 'ENABLE_MATHML=0', |
| 50 'ENABLE_MEDIA_STREAM=<(enable_webrtc)', | 49 'ENABLE_MEDIA_STREAM=<(enable_webrtc)', |
| 51 'ENABLE_RESOLUTION_MEDIA_QUERY=0', | 50 'ENABLE_RESOLUTION_MEDIA_QUERY=0', |
| 52 'ENABLE_RUBY=1', | |
| 53 'ENABLE_SANDBOX=1', | |
| 54 'ENABLE_SPEECH_SYNTHESIS=0', | 51 'ENABLE_SPEECH_SYNTHESIS=0', |
| 55 'ENABLE_SVG=<(enable_svg)', | 52 'ENABLE_SVG=<(enable_svg)', |
| 56 'ENABLE_SVG_FONTS=<(enable_svg)', | 53 'ENABLE_SVG_FONTS=<(enable_svg)', |
| 57 'ENABLE_TOUCH_ICON_LOADING=<(enable_touch_icon_loading)', | 54 'ENABLE_TOUCH_ICON_LOADING=<(enable_touch_icon_loading)', |
| 58 'ENABLE_V8_SCRIPT_DEBUG_SERVER=1', | |
| 59 'ENABLE_VIEWPORT=1', | 55 'ENABLE_VIEWPORT=1', |
| 60 'ENABLE_WEBGL=1', | 56 'ENABLE_WEBGL=1', |
| 61 'ENABLE_XHR_TIMEOUT=0', | 57 'ENABLE_XHR_TIMEOUT=0', |
| 62 'WTF_USE_BUILTIN_UTF8_CODEC=1', | |
| 63 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi | 58 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi |
| 64 # We can't define it here because it should be present only | 59 # We can't define it here because it should be present only |
| 65 # in Debug or release_valgrind_build=1 builds. | 60 # in Debug or release_valgrind_build=1 builds. |
| 66 'WTF_USE_WEBKIT_IMAGE_DECODERS=1', | |
| 67 ], | 61 ], |
| 68 # We have to nest variables inside variables so that they can be overridden | 62 # We have to nest variables inside variables so that they can be overridden |
| 69 # through GYP_DEFINES. | 63 # through GYP_DEFINES. |
| 70 'variables': { | 64 'variables': { |
| 71 'enable_svg%': 1, | 65 'enable_svg%': 1, |
| 72 'enable_touch_icon_loading%' : 0, | 66 'enable_touch_icon_loading%' : 0, |
| 73 }, | 67 }, |
| 74 'enable_svg%': '<(enable_svg)', | 68 'enable_svg%': '<(enable_svg)', |
| 75 'conditions': [ | 69 'conditions': [ |
| 76 ['OS=="android"', { | 70 ['OS=="android"', { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 ], | 148 ], |
| 155 }], | 149 }], |
| 156 ['use_default_render_theme==1', { | 150 ['use_default_render_theme==1', { |
| 157 'feature_defines': [ | 151 'feature_defines': [ |
| 158 'ENABLE_DEFAULT_RENDER_THEME=1', | 152 'ENABLE_DEFAULT_RENDER_THEME=1', |
| 159 ], | 153 ], |
| 160 }], | 154 }], |
| 161 ], | 155 ], |
| 162 }, | 156 }, |
| 163 } | 157 } |
| OLD | NEW |