| OLD | NEW |
| 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 5101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5112 'conditions': [ | 5112 'conditions': [ |
| 5113 ['mac_want_real_dsym=="default"', { | 5113 ['mac_want_real_dsym=="default"', { |
| 5114 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. | 5114 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. |
| 5115 }, { | 5115 }, { |
| 5116 'mac_real_dsym': '<(mac_want_real_dsym)' | 5116 'mac_real_dsym': '<(mac_want_real_dsym)' |
| 5117 }], | 5117 }], |
| 5118 ], | 5118 ], |
| 5119 }], | 5119 }], |
| 5120 ], | 5120 ], |
| 5121 }, | 5121 }, |
| 5122 'configurations': { |
| 5123 'Release_Base': { |
| 5124 'conditions': [ |
| 5125 ['branding=="Chrome" and buildtype=="Official"', { |
| 5126 'xcode_settings': { |
| 5127 'OTHER_CFLAGS': [ |
| 5128 # The Google Chrome Framework dSYM generated by dsymutil has |
| 5129 # grown larger than 4GB, which dsymutil can't handle. Reduce |
| 5130 # the amount of debug symbols. |
| 5131 '-gline-tables-only', # See http://crbug.com/479841 |
| 5132 ] |
| 5133 }, |
| 5134 }], |
| 5135 ], |
| 5136 }, # configuration "Release" |
| 5137 }, # configurations |
| 5122 'xcode_settings': { | 5138 'xcode_settings': { |
| 5123 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 5139 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 5124 # (Equivalent to -fPIC) | 5140 # (Equivalent to -fPIC) |
| 5125 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min | 5141 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min |
| 5126 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 5142 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 5127 # Keep pch files below xcodebuild/. | 5143 # Keep pch files below xcodebuild/. |
| 5128 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe
aders', | 5144 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe
aders', |
| 5129 'OTHER_CFLAGS': [ | 5145 'OTHER_CFLAGS': [ |
| 5130 # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO' | 5146 # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO' |
| 5131 # xcode_setting, but not until all downstream projects' mac bots are | 5147 # xcode_setting, but not until all downstream projects' mac bots are |
| 5132 # using xcode >= 4.6, because that's when the default value of the | 5148 # using xcode >= 4.6, because that's when the default value of the |
| 5133 # flag in the compiler switched. Pre-4.6, the value 'NO' for that | 5149 # flag in the compiler switched. Pre-4.6, the value 'NO' for that |
| 5134 # setting is a no-op as far as xcode is concerned, but the compiler | 5150 # setting is a no-op as far as xcode is concerned, but the compiler |
| 5135 # behaves differently based on whether -fno-strict-aliasing is | 5151 # behaves differently based on whether -fno-strict-aliasing is |
| 5136 # specified or not. | 5152 # specified or not. |
| 5137 '-fno-strict-aliasing', # See http://crbug.com/32204. | 5153 '-fno-strict-aliasing', # See http://crbug.com/32204. |
| 5138 ], | 5154 ], |
| 5139 'conditions': [ | |
| 5140 ['branding=="Chrome" and buildtype=="Official"', { | |
| 5141 'OTHER_CFLAGS': [ | |
| 5142 # The Google Chrome Framework dSYM generated by dsymutil has | |
| 5143 # grown larger than 4GB, which dsymutil can't handle. Reduce | |
| 5144 # the amount of debug symbols. | |
| 5145 '-gline-tables-only', # See http://crbug.com/479841 | |
| 5146 ] | |
| 5147 }], | |
| 5148 ], | |
| 5149 }, | 5155 }, |
| 5150 'target_conditions': [ | 5156 'target_conditions': [ |
| 5151 ['_type=="executable"', { | 5157 ['_type=="executable"', { |
| 5152 'postbuilds': [ | 5158 'postbuilds': [ |
| 5153 { | 5159 { |
| 5154 # Arranges for data (heap) pages to be protected against | 5160 # Arranges for data (heap) pages to be protected against |
| 5155 # code execution when running on Mac OS X 10.7 ("Lion"), and | 5161 # code execution when running on Mac OS X 10.7 ("Lion"), and |
| 5156 # ensures that the position-independent executable (PIE) bit | 5162 # ensures that the position-independent executable (PIE) bit |
| 5157 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). | 5163 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). |
| 5158 'variables': { | 5164 'variables': { |
| (...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6156 # settings in target dicts. SYMROOT is a special case, because many other | 6162 # settings in target dicts. SYMROOT is a special case, because many other |
| 6157 # Xcode variables depend on it, including variables such as | 6163 # Xcode variables depend on it, including variables such as |
| 6158 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6164 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6159 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6165 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6160 # files to appear (when present) in the UI as actual files and not red | 6166 # files to appear (when present) in the UI as actual files and not red |
| 6161 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6167 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6162 # and therefore SYMROOT, needs to be set at the project level. | 6168 # and therefore SYMROOT, needs to be set at the project level. |
| 6163 'SYMROOT': '<(DEPTH)/xcodebuild', | 6169 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6164 }, | 6170 }, |
| 6165 } | 6171 } |
| OLD | NEW |