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

Side by Side Diff: build/common.gypi

Issue 10416043: Add a GYP_DEFINE to force generating /Z7 flags for Visual C++. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 # The default value for mac_strip in target_defaults. This cannot be 624 # The default value for mac_strip in target_defaults. This cannot be
625 # set there, per the comment about variable% in a target_defaults. 625 # set there, per the comment about variable% in a target_defaults.
626 'mac_strip_release%': 1, 626 'mac_strip_release%': 1,
627 627
628 # Set to 1 to enable code coverage. In addition to build changes 628 # Set to 1 to enable code coverage. In addition to build changes
629 # (e.g. extra CFLAGS), also creates a new target in the src/chrome 629 # (e.g. extra CFLAGS), also creates a new target in the src/chrome
630 # project file called "coverage". 630 # project file called "coverage".
631 # Currently ignored on Windows. 631 # Currently ignored on Windows.
632 'coverage%': 0, 632 'coverage%': 0,
633 633
634 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
635 # This is useful for parallel compilation tools which can't support /Zi.
636 # Only used on Windows.
637 'z7%' : 0,
scottmg 2012/05/22 20:33:15 please change to win_z7, most flags are prefixed w
arthurhsu 2012/05/22 20:37:29 Done.
638
634 # Although base/allocator lets you select a heap library via an 639 # Although base/allocator lets you select a heap library via an
635 # environment variable, the libcmt shim it uses sometimes gets in 640 # environment variable, the libcmt shim it uses sometimes gets in
636 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 641 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
637 # 'win_use_allocator_shim': 0, 642 # 'win_use_allocator_shim': 0,
638 # 'win_release_RuntimeLibrary': 2 643 # 'win_release_RuntimeLibrary': 2
639 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build. 644 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build.
640 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt 645 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt
641 646
642 # Whether usage of OpenMAX is enabled. 647 # Whether usage of OpenMAX is enabled.
643 'enable_openmax%': 0, 648 'enable_openmax%': 0,
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 }], # coverage!=0 1456 }], # coverage!=0
1452 ['OS=="win"', { 1457 ['OS=="win"', {
1453 'defines': [ 1458 'defines': [
1454 '__STD_C', 1459 '__STD_C',
1455 '_CRT_SECURE_NO_DEPRECATE', 1460 '_CRT_SECURE_NO_DEPRECATE',
1456 '_SCL_SECURE_NO_DEPRECATE', 1461 '_SCL_SECURE_NO_DEPRECATE',
1457 ], 1462 ],
1458 'include_dirs': [ 1463 'include_dirs': [
1459 '<(DEPTH)/third_party/wtl/include', 1464 '<(DEPTH)/third_party/wtl/include',
1460 ], 1465 ],
1466 'conditions': [
1467 ['z7!=0', {
1468 'msvs_settings': {
1469 'VCCLCompilerTool': {
1470 'DebugInformationFormat': '1',
1471 }
1472 }
1473 }],
1474 ], # z7!=0
1461 }], # OS==win 1475 }], # OS==win
1462 ['enable_task_manager==1', { 1476 ['enable_task_manager==1', {
1463 'defines': [ 1477 'defines': [
1464 'ENABLE_TASK_MANAGER=1', 1478 'ENABLE_TASK_MANAGER=1',
1465 ], 1479 ],
1466 }], 1480 }],
1467 ['enable_web_intents==1', { 1481 ['enable_web_intents==1', {
1468 'defines': [ 1482 'defines': [
1469 'ENABLE_WEB_INTENTS=1', 1483 'ENABLE_WEB_INTENTS=1',
1470 ], 1484 ],
(...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after
3103 # settings in target dicts. SYMROOT is a special case, because many other 3117 # settings in target dicts. SYMROOT is a special case, because many other
3104 # Xcode variables depend on it, including variables such as 3118 # Xcode variables depend on it, including variables such as
3105 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3119 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3106 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3120 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3107 # files to appear (when present) in the UI as actual files and not red 3121 # files to appear (when present) in the UI as actual files and not red
3108 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3122 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3109 # and therefore SYMROOT, needs to be set at the project level. 3123 # and therefore SYMROOT, needs to be set at the project level.
3110 'SYMROOT': '<(DEPTH)/xcodebuild', 3124 'SYMROOT': '<(DEPTH)/xcodebuild',
3111 }, 3125 },
3112 } 3126 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698