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 15 matching lines...) Expand all Loading... |
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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_SVG_FONTS=1', | 35 'ENABLE_SVG_FONTS=1', |
36 'ENABLE_OPENTYPE_VERTICAL=1', | |
37 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi | 36 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi |
38 # We can't define it here because it should be present only | 37 # We can't define it here because it should be present only |
39 # in Debug or release_valgrind_build=1 builds. | 38 # in Debug or release_valgrind_build=1 builds. |
40 ], | 39 ], |
41 # We have to nest variables inside variables so that they can be overridden | 40 # We have to nest variables inside variables so that they can be overridden |
42 # through GYP_DEFINES. | 41 # through GYP_DEFINES. |
43 'variables': { | 42 'variables': { |
44 # Enables the Oilpan garbage-collection infrastructure. | 43 # Enables the Oilpan garbage-collection infrastructure. |
45 'enable_oilpan%': 0, | 44 'enable_oilpan%': 0, |
46 'gc_profile_heap%': 0, | 45 'gc_profile_heap%': 0, |
(...skipping 18 matching lines...) Expand all Loading... |
65 ], | 64 ], |
66 }], | 65 }], |
67 ['OS=="android" and use_openmax_dl_fft!=0', { | 66 ['OS=="android" and use_openmax_dl_fft!=0', { |
68 'feature_defines': [ | 67 'feature_defines': [ |
69 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1', | 68 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1', |
70 # Enabling the FFT is enough to enable WebAudio support to | 69 # Enabling the FFT is enough to enable WebAudio support to |
71 # allow most WebAudio features to work on Android. | 70 # allow most WebAudio features to work on Android. |
72 'ENABLE_WEB_AUDIO=1', | 71 'ENABLE_WEB_AUDIO=1', |
73 ], | 72 ], |
74 }], | 73 }], |
| 74 # Mac OS X has not implemented support for ENABLE(OPENTYPE_VERTICAL) yet |
| 75 ['OS!="mac"', { |
| 76 'feature_defines': [ |
| 77 'ENABLE_OPENTYPE_VERTICAL=1', |
| 78 ], |
| 79 }], |
75 ['use_default_render_theme==1', { | 80 ['use_default_render_theme==1', { |
76 'feature_defines': [ | 81 'feature_defines': [ |
77 'WTF_USE_DEFAULT_RENDER_THEME=1', | 82 'WTF_USE_DEFAULT_RENDER_THEME=1', |
78 ], | 83 ], |
79 }], | 84 }], |
80 ['enable_oilpan==1', { | 85 ['enable_oilpan==1', { |
81 'feature_defines': [ | 86 'feature_defines': [ |
82 'ENABLE_OILPAN=1', | 87 'ENABLE_OILPAN=1', |
83 ], | 88 ], |
84 }], | 89 }], |
(...skipping 10 matching lines...) Expand all Loading... |
95 ], | 100 ], |
96 }], | 101 }], |
97 ['blink_logging_always_on==1', { | 102 ['blink_logging_always_on==1', { |
98 'feature_defines': [ | 103 'feature_defines': [ |
99 'LOG_DISABLED=0', | 104 'LOG_DISABLED=0', |
100 ], | 105 ], |
101 }], | 106 }], |
102 ], | 107 ], |
103 }, | 108 }, |
104 } | 109 } |
OLD | NEW |