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

Side by Side Diff: build/common.gypi

Issue 287193012: Always define _HAS_EXCEPTIONS=0 on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try always setting _HAS_EXCEPTIONS=0 Created 6 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 4803 matching lines...) Expand 10 before | Expand all | Expand 10 after
4814 '_WIN32_WINNT=0x0602', 4814 '_WIN32_WINNT=0x0602',
4815 'WINVER=0x0602', 4815 'WINVER=0x0602',
4816 'WIN32', 4816 'WIN32',
4817 '_WINDOWS', 4817 '_WINDOWS',
4818 'NOMINMAX', 4818 'NOMINMAX',
4819 'PSAPI_VERSION=1', 4819 'PSAPI_VERSION=1',
4820 '_CRT_RAND_S', 4820 '_CRT_RAND_S',
4821 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', 4821 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
4822 'WIN32_LEAN_AND_MEAN', 4822 'WIN32_LEAN_AND_MEAN',
4823 '_ATL_NO_OPENGL', 4823 '_ATL_NO_OPENGL',
4824 '_HAS_EXCEPTIONS=0',
4824 ], 4825 ],
4825 'conditions': [ 4826 'conditions': [
4826 ['buildtype=="Official"', { 4827 ['buildtype=="Official"', {
4827 # In official builds, targets can self-select an optimization 4828 # In official builds, targets can self-select an optimization
4828 # level by defining a variable named 'optimize', and setting it 4829 # level by defining a variable named 'optimize', and setting it
4829 # to one of 4830 # to one of
4830 # - "size", optimizes for minimal code size - the default. 4831 # - "size", optimizes for minimal code size - the default.
4831 # - "speed", optimizes for speed over code size. 4832 # - "speed", optimizes for speed over code size.
4832 # - "max", whole program optimization and link-time code 4833 # - "max", whole program optimization and link-time code
4833 # generation. This is very expensive and should be used 4834 # generation. This is very expensive and should be used
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
4873 'FavorSizeOrSpeed': '1', 4874 'FavorSizeOrSpeed': '1',
4874 # This implies link time code generation. 4875 # This implies link time code generation.
4875 'WholeProgramOptimization': 'true', 4876 'WholeProgramOptimization': 'true',
4876 }, 4877 },
4877 }, 4878 },
4878 }, 4879 },
4879 ], 4880 ],
4880 ], 4881 ],
4881 }, 4882 },
4882 ], 4883 ],
4883 ['component=="static_library"', {
4884 'defines': [
4885 '_HAS_EXCEPTIONS=0',
4886 ],
4887 }],
4888 ['secure_atl', { 4884 ['secure_atl', {
4889 'defines': [ 4885 'defines': [
4890 '_SECURE_ATL', 4886 '_SECURE_ATL',
4891 ], 4887 ],
4892 }], 4888 }],
4893 ['msvs_express', { 4889 ['msvs_express', {
4894 'configurations': { 4890 'configurations': {
4895 'x86_Base': { 4891 'x86_Base': {
4896 'msvs_settings': { 4892 'msvs_settings': {
4897 'VCLinkerTool': { 4893 'VCLinkerTool': {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
4959 'EnableFunctionLevelLinking': 'true', 4955 'EnableFunctionLevelLinking': 'true',
4960 'RuntimeTypeInfo': 'false', 4956 'RuntimeTypeInfo': 'false',
4961 'WarningLevel': '4', 4957 'WarningLevel': '4',
4962 'WarnAsError': 'true', 4958 'WarnAsError': 'true',
4963 'DebugInformationFormat': '3', 4959 'DebugInformationFormat': '3',
4964 'conditions': [ 4960 'conditions': [
4965 ['component=="shared_library"', { 4961 ['component=="shared_library"', {
4966 'ExceptionHandling': '1', # /EHsc 4962 'ExceptionHandling': '1', # /EHsc
4967 }, { 4963 }, {
4968 'ExceptionHandling': '0', 4964 'ExceptionHandling': '0',
4969 }], 4965 }],
Nico 2014/05/23 20:51:58 Elsewhere, I noticed today that this block here al
4970 ], 4966 ],
4971 }, 4967 },
4972 'VCLibrarianTool': { 4968 'VCLibrarianTool': {
4973 'AdditionalOptions': ['/ignore:4221'], 4969 'AdditionalOptions': ['/ignore:4221'],
4974 'AdditionalLibraryDirectories': [ 4970 'AdditionalLibraryDirectories': [
4975 '<(windows_sdk_path)/Lib/win8/um/x86', 4971 '<(windows_sdk_path)/Lib/win8/um/x86',
4976 ], 4972 ],
4977 }, 4973 },
4978 'VCLinkerTool': { 4974 'VCLinkerTool': {
4979 'AdditionalDependencies': [ 4975 'AdditionalDependencies': [
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
5321 # settings in target dicts. SYMROOT is a special case, because many other 5317 # settings in target dicts. SYMROOT is a special case, because many other
5322 # Xcode variables depend on it, including variables such as 5318 # Xcode variables depend on it, including variables such as
5323 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5319 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5324 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5320 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5325 # files to appear (when present) in the UI as actual files and not red 5321 # files to appear (when present) in the UI as actual files and not red
5326 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5322 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5327 # and therefore SYMROOT, needs to be set at the project level. 5323 # and therefore SYMROOT, needs to be set at the project level.
5328 'SYMROOT': '<(DEPTH)/xcodebuild', 5324 'SYMROOT': '<(DEPTH)/xcodebuild',
5329 }, 5325 },
5330 } 5326 }
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