Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: build/common.gypi

Issue 8041022: Use precompiled headers on Windows only when a flag is set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/win_precompile.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 # Webrtc compilation is enabled by default. Set to 0 to disable. 207 # Webrtc compilation is enabled by default. Set to 0 to disable.
208 'enable_webrtc%': 1, 208 'enable_webrtc%': 1,
209 209
210 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). 210 # XInput2 multitouch support is disabled by default (use_xi2_mt=0).
211 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, 211 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled,
212 # the input value also defines the required XI2 minor minimum version. 212 # the input value also defines the required XI2 minor minimum version.
213 # For example, use_xi2_mt=2 means XI2.2 or above version is required. 213 # For example, use_xi2_mt=2 means XI2.2 or above version is required.
214 'use_xi2_mt%': 0, 214 'use_xi2_mt%': 0,
215 215
216 # Use of precompiled headers on Windows is off by default
217 # because of complications that it can cause with our
218 # infrastructure (trybots etc.). Enable by setting to 1 in
219 # ~/.gyp/include.gypi or via the GYP command line for ~20-25%
220 # faster builds.
221 'win_use_pch%': 0,
M-A Ruel 2011/09/26 16:04:27 I find it sad that chromium_mac_pch and win_use_pc
Mark Mentovai 2011/09/26 16:10:59 Marc-Antoine Ruel wrote:
222
216 'conditions': [ 223 'conditions': [
217 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of 224 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
218 # the 'conditions' clause. Initial attempts resulted in chromium and 225 # the 'conditions' clause. Initial attempts resulted in chromium and
219 # webkit disagreeing on its setting. 226 # webkit disagreeing on its setting.
220 ['OS=="mac"', { 227 ['OS=="mac"', {
221 'use_skia%': 1, 228 'use_skia%': 1,
222 # Mac uses clang by default, so turn on the plugin as well. 229 # Mac uses clang by default, so turn on the plugin as well.
223 'clang_use_chrome_plugins%': 1, 230 'clang_use_chrome_plugins%': 1,
224 }, { 231 }, {
225 'use_skia%': 1, 232 'use_skia%': 1,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 'armv7%': '<(armv7)', 336 'armv7%': '<(armv7)',
330 'arm_neon%': '<(arm_neon)', 337 'arm_neon%': '<(arm_neon)',
331 'sysroot%': '<(sysroot)', 338 'sysroot%': '<(sysroot)',
332 'disable_sse2%': '<(disable_sse2)', 339 'disable_sse2%': '<(disable_sse2)',
333 'component%': '<(component)', 340 'component%': '<(component)',
334 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 341 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
335 'use_third_party_translations%': '<(use_third_party_translations)', 342 'use_third_party_translations%': '<(use_third_party_translations)',
336 'remoting%': '<(remoting)', 343 'remoting%': '<(remoting)',
337 'use_threaded_compositing%': '<(use_threaded_compositing)', 344 'use_threaded_compositing%': '<(use_threaded_compositing)',
338 'enable_webrtc%': '<(enable_webrtc)', 345 'enable_webrtc%': '<(enable_webrtc)',
346 'win_use_pch%': '<(win_use_pch)',
339 'p2p_apis%': '<(p2p_apis)', 347 'p2p_apis%': '<(p2p_apis)',
340 'configuration_policy%': '<(configuration_policy)', 348 'configuration_policy%': '<(configuration_policy)',
341 'safe_browsing%': '<(safe_browsing)', 349 'safe_browsing%': '<(safe_browsing)',
342 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 350 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
343 'asan%': '<(asan)', 351 'asan%': '<(asan)',
344 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 352 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
345 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', 353 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)',
346 'enable_web_intents%': '<(enable_web_intents)', 354 'enable_web_intents%': '<(enable_web_intents)',
347 # Whether to build for Wayland display server 355 # Whether to build for Wayland display server
348 'use_wayland%': 0, 356 'use_wayland%': 0,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 # Choose static link by build type. 631 # Choose static link by build type.
624 'conditions': [ 632 'conditions': [
625 ['android_build_type==0', { 633 ['android_build_type==0', {
626 'static_link_system_icu%': 1, 634 'static_link_system_icu%': 1,
627 }, { 635 }, {
628 'static_link_system_icu%': 0, 636 'static_link_system_icu%': 0,
629 }], 637 }],
630 ], 638 ],
631 # Enable to use system sqlite. 639 # Enable to use system sqlite.
632 'use_system_sqlite%': '<(android_build_type)', 640 'use_system_sqlite%': '<(android_build_type)',
633 # Enable to use system libjpeg. 641 # Enable to use system libjpeg.
634 'use_system_libjpeg%': '<(android_build_type)', 642 'use_system_libjpeg%': '<(android_build_type)',
635 # Enable to use the system libexpat. 643 # Enable to use the system libexpat.
636 'use_system_libexpat%': '<(android_build_type)', 644 'use_system_libexpat%': '<(android_build_type)',
637 # Enable to use the system stlport, otherwise statically 645 # Enable to use the system stlport, otherwise statically
638 # link the NDK one? 646 # link the NDK one?
639 'use_system_stlport%': '<(android_build_type)', 647 'use_system_stlport%': '<(android_build_type)',
640 # Copy it out one scope. 648 # Copy it out one scope.
641 'android_build_type%': '<(android_build_type)', 649 'android_build_type%': '<(android_build_type)',
642 }], # OS=="android" 650 }], # OS=="android"
643 ['OS=="mac"', { 651 ['OS=="mac"', {
(...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after
2430 # settings in target dicts. SYMROOT is a special case, because many other 2438 # settings in target dicts. SYMROOT is a special case, because many other
2431 # Xcode variables depend on it, including variables such as 2439 # Xcode variables depend on it, including variables such as
2432 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2440 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2433 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2441 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2434 # files to appear (when present) in the UI as actual files and not red 2442 # files to appear (when present) in the UI as actual files and not red
2435 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2443 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2436 # and therefore SYMROOT, needs to be set at the project level. 2444 # and therefore SYMROOT, needs to be set at the project level.
2437 'SYMROOT': '<(DEPTH)/xcodebuild', 2445 'SYMROOT': '<(DEPTH)/xcodebuild',
2438 }, 2446 },
2439 } 2447 }
OLDNEW
« no previous file with comments | « no previous file | build/win_precompile.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698