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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
138 | 138 |
139 # Configuration policy is enabled by default. Set to 0 to disable. | 139 # Configuration policy is enabled by default. Set to 0 to disable. |
140 'configuration_policy%': 1, | 140 'configuration_policy%': 1, |
141 | 141 |
142 # If this is set, the clang plugins used on the buildbot will be used. | 142 # If this is set, the clang plugins used on the buildbot will be used. |
143 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 143 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
144 # This causes 'clang_chrome_plugins_flags' to be set. | 144 # This causes 'clang_chrome_plugins_flags' to be set. |
145 # Has no effect if 'clang' is not set as well. | 145 # Has no effect if 'clang' is not set as well. |
146 'clang_use_chrome_plugins%': 0, | 146 'clang_use_chrome_plugins%': 0, |
147 | 147 |
148 # Smooth scrolling is disabled by default. | |
149 'enable_smooth_scrolling%': 0, | |
tony
2011/06/22 19:11:31
You don't need to define this here. It can just b
| |
150 | |
148 'conditions': [ | 151 'conditions': [ |
149 # Use Skia as WebKit renderer on Mac | 152 # Use Skia as WebKit renderer on Mac |
150 ['OS=="mac"', { | 153 ['OS=="mac"', { |
151 'use_skia%': 0, | 154 'use_skia%': 0, |
152 }, { | 155 }, { |
153 'use_skia%': 1, | 156 'use_skia%': 1, |
154 }], | 157 }], |
155 | 158 |
156 # A flag for POSIX platforms | 159 # A flag for POSIX platforms |
157 ['OS=="win"', { | 160 ['OS=="win"', { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 'sysroot%': '<(sysroot)', | 246 'sysroot%': '<(sysroot)', |
244 'disable_sse2%': '<(disable_sse2)', | 247 'disable_sse2%': '<(disable_sse2)', |
245 'component%': '<(component)', | 248 'component%': '<(component)', |
246 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 249 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
247 'use_third_party_translations%': '<(use_third_party_translations)', | 250 'use_third_party_translations%': '<(use_third_party_translations)', |
248 'remoting%': '<(remoting)', | 251 'remoting%': '<(remoting)', |
249 'p2p_apis%': '<(p2p_apis)', | 252 'p2p_apis%': '<(p2p_apis)', |
250 'configuration_policy%': '<(configuration_policy)', | 253 'configuration_policy%': '<(configuration_policy)', |
251 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 254 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
252 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 255 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
256 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', | |
tony
2011/06/22 19:11:31
ie., at this level, just put:
# Smooth scrolling i
| |
253 | 257 |
254 # The release channel that this build targets. This is used to restrict | 258 # The release channel that this build targets. This is used to restrict |
255 # channel-specific build options, like which installer packages to create. | 259 # channel-specific build options, like which installer packages to create. |
256 # The default is 'all', which does no channel-specific filtering. | 260 # The default is 'all', which does no channel-specific filtering. |
257 'channel%': 'all', | 261 'channel%': 'all', |
258 | 262 |
259 # Override chromium_mac_pch and set it to 0 to suppress the use of | 263 # Override chromium_mac_pch and set it to 0 to suppress the use of |
260 # precompiled headers on the Mac. Prefix header injection may still be | 264 # precompiled headers on the Mac. Prefix header injection may still be |
261 # used, but prefix headers will not be precompiled. This is useful when | 265 # used, but prefix headers will not be precompiled. This is useful when |
262 # using distcc to distribute a build to compile slaves that don't | 266 # using distcc to distribute a build to compile slaves that don't |
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1776 # and therefore SYMROOT, needs to be set at the project level. | 1780 # and therefore SYMROOT, needs to be set at the project level. |
1777 'SYMROOT': '<(DEPTH)/xcodebuild', | 1781 'SYMROOT': '<(DEPTH)/xcodebuild', |
1778 }, | 1782 }, |
1779 } | 1783 } |
1780 | 1784 |
1781 # Local Variables: | 1785 # Local Variables: |
1782 # tab-width:2 | 1786 # tab-width:2 |
1783 # indent-tabs-mode:nil | 1787 # indent-tabs-mode:nil |
1784 # End: | 1788 # End: |
1785 # vim: set expandtab tabstop=2 shiftwidth=2: | 1789 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |