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

Side by Side Diff: build/common.gypi

Issue 20666002: build/common.gypi: revert the change to GCC_STRICT_ALIASING:NO because some bots have a too-old xco… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: even more commentary Created 7 years, 5 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 3963 matching lines...) Expand 10 before | Expand all | Expand 10 after
3974 }], 3974 }],
3975 ], 3975 ],
3976 }, 3976 },
3977 'xcode_settings': { 3977 'xcode_settings': {
3978 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic 3978 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
3979 # (Equivalent to -fPIC) 3979 # (Equivalent to -fPIC)
3980 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min 3980 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
3981 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', 3981 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
3982 # Keep pch files below xcodebuild/. 3982 # Keep pch files below xcodebuild/.
3983 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe aders', 3983 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe aders',
3984 3984 'OTHER_CFLAGS': [
3985 # -fno-strict-aliasing, see http://crbug.com/32204 3985 # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO'
3986 'GCC_STRICT_ALIASING': 'NO', 3986 # xcode_setting, but not until all downstream projects' mac bots are
3987 # using xcode >= 4.6, because that's when the default value of the
3988 # flag in the compiler switched. Pre-4.6, the value 'NO' for that
3989 # setting is a no-op as far as xcode is concerned, but the compiler
3990 # behaves differently based on whether -fno-strict-aliasing is
3991 # specified or not.
3992 '-fno-strict-aliasing', # See http://crbug.com/32204.
3993 ],
3987 }, 3994 },
3988 'target_conditions': [ 3995 'target_conditions': [
3989 ['_type=="executable"', { 3996 ['_type=="executable"', {
3990 'postbuilds': [ 3997 'postbuilds': [
3991 { 3998 {
3992 # Arranges for data (heap) pages to be protected against 3999 # Arranges for data (heap) pages to be protected against
3993 # code execution when running on Mac OS X 10.7 ("Lion"), and 4000 # code execution when running on Mac OS X 10.7 ("Lion"), and
3994 # ensures that the position-independent executable (PIE) bit 4001 # ensures that the position-independent executable (PIE) bit
3995 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). 4002 # is set for ASLR when running on Mac OS X 10.5 ("Leopard").
3996 'variables': { 4003 'variables': {
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
4638 # settings in target dicts. SYMROOT is a special case, because many other 4645 # settings in target dicts. SYMROOT is a special case, because many other
4639 # Xcode variables depend on it, including variables such as 4646 # Xcode variables depend on it, including variables such as
4640 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4647 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4641 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4648 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4642 # files to appear (when present) in the UI as actual files and not red 4649 # files to appear (when present) in the UI as actual files and not red
4643 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4650 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4644 # and therefore SYMROOT, needs to be set at the project level. 4651 # and therefore SYMROOT, needs to be set at the project level.
4645 'SYMROOT': '<(DEPTH)/xcodebuild', 4652 'SYMROOT': '<(DEPTH)/xcodebuild',
4646 }, 4653 },
4647 } 4654 }
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