OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 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 11 matching lines...) Expand all Loading... |
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
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 'variables': { | |
33 # TODO: temporary variable until we've switched from v8-i18n to v8's i18n su
pport. | |
34 'v8_enable_i18n_support%': 0, | |
35 }, | |
36 'includes': [ | 32 'includes': [ |
37 '../WebKit/chromium/WinPrecompile.gypi', | 33 '../WebKit/chromium/WinPrecompile.gypi', |
38 'bindings.gypi', | 34 'bindings.gypi', |
39 ], | 35 ], |
40 'target_defaults': { | 36 'target_defaults': { |
41 'variables': { | 37 'variables': { |
42 'optimize': 'max', | 38 'optimize': 'max', |
43 }, | 39 }, |
44 }, | 40 }, |
45 'targets': [{ | 41 'targets': [{ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 # Some Mac-specific parts of WebKit won't compile without having this | 73 # Some Mac-specific parts of WebKit won't compile without having this |
78 # prefix header injected. | 74 # prefix header injected. |
79 # FIXME: make this a first-class setting. | 75 # FIXME: make this a first-class setting. |
80 'GCC_PREFIX_HEADER': '../core/WebCorePrefixMac.h', | 76 'GCC_PREFIX_HEADER': '../core/WebCorePrefixMac.h', |
81 }, | 77 }, |
82 'sources': [ | 78 'sources': [ |
83 '<@(derived_sources_aggregate_files)', | 79 '<@(derived_sources_aggregate_files)', |
84 '<@(bindings_files)', | 80 '<@(bindings_files)', |
85 ], | 81 ], |
86 'conditions': [ | 82 'conditions': [ |
87 ['v8_enable_i18n_support==0', { | |
88 'dependencies': [ | |
89 '<(DEPTH)/third_party/v8-i18n/build/all.gyp:v8-i18n', | |
90 ], | |
91 'defines': [ | |
92 'USE_I18N_EXTENSION', | |
93 ], | |
94 }], | |
95 ['OS=="win"', { | 83 ['OS=="win"', { |
96 # In generated bindings code: 'switch contains default but no case'. | 84 # In generated bindings code: 'switch contains default but no case'. |
97 # Disable c4267 warnings until we fix size_t to int truncations. | 85 # Disable c4267 warnings until we fix size_t to int truncations. |
98 'msvs_disabled_warnings': [ 4065, 4267 ], | 86 'msvs_disabled_warnings': [ 4065, 4267 ], |
99 }], | 87 }], |
100 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def
ines', { | 88 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def
ines', { |
101 'cflags': [ | 89 'cflags': [ |
102 '<!@(pkg-config --cflags-only-I ipp)', | 90 '<!@(pkg-config --cflags-only-I ipp)', |
103 ], | 91 ], |
104 }], | 92 }], |
105 ], | 93 ], |
106 }, | 94 }, |
107 ], | 95 ], |
108 } | 96 } |
OLD | NEW |