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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 # Has no effect if 'clang' is not set as well. | 165 # Has no effect if 'clang' is not set as well. |
166 'clang_use_chrome_plugins%': 0, | 166 'clang_use_chrome_plugins%': 0, |
167 | 167 |
168 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 168 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
169 # libraries on linux x86-64 and arm, plus ASLR. | 169 # libraries on linux x86-64 and arm, plus ASLR. |
170 'linux_fpic%': 1, | 170 'linux_fpic%': 1, |
171 | 171 |
172 # Enable navigator.registerProtocolHandler and supporting UI. | 172 # Enable navigator.registerProtocolHandler and supporting UI. |
173 'enable_register_protocol_handler%': 1, | 173 'enable_register_protocol_handler%': 1, |
174 | 174 |
| 175 # Smooth scrolling is disabled by default. |
| 176 'enable_smooth_scrolling%': 0, |
| 177 |
175 'conditions': [ | 178 'conditions': [ |
176 # Use Skia as WebKit renderer on Mac | 179 # Use Skia as WebKit renderer on Mac |
177 ['OS=="mac"', { | 180 ['OS=="mac"', { |
178 'use_skia%': 0, | 181 'use_skia%': 0, |
179 }, { | 182 }, { |
180 'use_skia%': 1, | 183 'use_skia%': 1, |
181 }], | 184 }], |
182 | 185 |
183 # A flag for POSIX platforms | 186 # A flag for POSIX platforms |
184 ['OS=="win"', { | 187 ['OS=="win"', { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 }, { | 220 }, { |
218 'enable_flapper_hacks%': 0, | 221 'enable_flapper_hacks%': 0, |
219 }], | 222 }], |
220 | 223 |
221 # Enable file manager extension by default on Chrome OS. | 224 # Enable file manager extension by default on Chrome OS. |
222 ['chromeos==1', { | 225 ['chromeos==1', { |
223 'file_manager_extension%': 1, | 226 'file_manager_extension%': 1, |
224 }, { | 227 }, { |
225 'file_manager_extension%': 0, | 228 'file_manager_extension%': 0, |
226 }], | 229 }], |
| 230 |
| 231 # Enable smooth scrolling for Linux and ChromeOS |
| 232 ['OS=="linux"', { |
| 233 'enable_smooth_scrolling%': 1, |
| 234 }, { |
| 235 'enable_smooth_scrolling%': 0, |
| 236 }], |
227 ], | 237 ], |
228 }, | 238 }, |
229 | 239 |
230 # Copy conditionally-set variables out one scope. | 240 # Copy conditionally-set variables out one scope. |
231 'branding%': '<(branding)', | 241 'branding%': '<(branding)', |
232 'buildtype%': '<(buildtype)', | 242 'buildtype%': '<(buildtype)', |
233 'target_arch%': '<(target_arch)', | 243 'target_arch%': '<(target_arch)', |
234 'host_arch%': '<(host_arch)', | 244 'host_arch%': '<(host_arch)', |
235 'library%': 'static_library', | 245 'library%': 'static_library', |
236 'toolkit_views%': '<(toolkit_views)', | 246 'toolkit_views%': '<(toolkit_views)', |
(...skipping 17 matching lines...) Expand all Loading... |
254 'sysroot%': '<(sysroot)', | 264 'sysroot%': '<(sysroot)', |
255 'disable_sse2%': '<(disable_sse2)', | 265 'disable_sse2%': '<(disable_sse2)', |
256 'component%': '<(component)', | 266 'component%': '<(component)', |
257 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 267 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
258 'use_third_party_translations%': '<(use_third_party_translations)', | 268 'use_third_party_translations%': '<(use_third_party_translations)', |
259 'remoting%': '<(remoting)', | 269 'remoting%': '<(remoting)', |
260 'p2p_apis%': '<(p2p_apis)', | 270 'p2p_apis%': '<(p2p_apis)', |
261 'configuration_policy%': '<(configuration_policy)', | 271 'configuration_policy%': '<(configuration_policy)', |
262 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 272 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
263 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 273 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
264 | 274 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', |
265 # Smooth scrolling is disabled by default. | |
266 'enable_smooth_scrolling%': 0, | |
267 | 275 |
268 # The release channel that this build targets. This is used to restrict | 276 # The release channel that this build targets. This is used to restrict |
269 # channel-specific build options, like which installer packages to create. | 277 # channel-specific build options, like which installer packages to create. |
270 # The default is 'all', which does no channel-specific filtering. | 278 # The default is 'all', which does no channel-specific filtering. |
271 'channel%': 'all', | 279 'channel%': 'all', |
272 | 280 |
273 # Override chromium_mac_pch and set it to 0 to suppress the use of | 281 # Override chromium_mac_pch and set it to 0 to suppress the use of |
274 # precompiled headers on the Mac. Prefix header injection may still be | 282 # precompiled headers on the Mac. Prefix header injection may still be |
275 # used, but prefix headers will not be precompiled. This is useful when | 283 # used, but prefix headers will not be precompiled. This is useful when |
276 # using distcc to distribute a build to compile slaves that don't | 284 # using distcc to distribute a build to compile slaves that don't |
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1821 # and therefore SYMROOT, needs to be set at the project level. | 1829 # and therefore SYMROOT, needs to be set at the project level. |
1822 'SYMROOT': '<(DEPTH)/xcodebuild', | 1830 'SYMROOT': '<(DEPTH)/xcodebuild', |
1823 }, | 1831 }, |
1824 } | 1832 } |
1825 | 1833 |
1826 # Local Variables: | 1834 # Local Variables: |
1827 # tab-width:2 | 1835 # tab-width:2 |
1828 # indent-tabs-mode:nil | 1836 # indent-tabs-mode:nil |
1829 # End: | 1837 # End: |
1830 # vim: set expandtab tabstop=2 shiftwidth=2: | 1838 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |