Chromium Code Reviews| 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 5112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5123 'OTHER_CFLAGS': [ | 5123 'OTHER_CFLAGS': [ |
| 5124 # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO' | 5124 # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO' |
| 5125 # xcode_setting, but not until all downstream projects' mac bots are | 5125 # xcode_setting, but not until all downstream projects' mac bots are |
| 5126 # using xcode >= 4.6, because that's when the default value of the | 5126 # using xcode >= 4.6, because that's when the default value of the |
| 5127 # flag in the compiler switched. Pre-4.6, the value 'NO' for that | 5127 # flag in the compiler switched. Pre-4.6, the value 'NO' for that |
| 5128 # setting is a no-op as far as xcode is concerned, but the compiler | 5128 # setting is a no-op as far as xcode is concerned, but the compiler |
| 5129 # behaves differently based on whether -fno-strict-aliasing is | 5129 # behaves differently based on whether -fno-strict-aliasing is |
| 5130 # specified or not. | 5130 # specified or not. |
| 5131 '-fno-strict-aliasing', # See http://crbug.com/32204. | 5131 '-fno-strict-aliasing', # See http://crbug.com/32204. |
| 5132 ], | 5132 ], |
| 5133 'conditions': [ | |
| 5134 ['branding=="Chrome" and buildtype=="Official"', { | |
| 5135 'OTHER_CFLAGS': [ | |
| 5136 # The Google Chrome Framework dSYM generated by dsymutil has gro wn | |
|
Mark Mentovai
2015/04/23 01:38:06
80 columns.
erikchen
2015/04/23 01:56:05
Done.
| |
| 5137 # larger than 4GB, which dsymutil can't handle. Reduce the amoun t | |
| 5138 # of debug symbols. | |
| 5139 '-gline-tables-only', # See http://crbug.com/479841 | |
| 5140 ] | |
| 5141 }], | |
| 5142 ], | |
| 5133 }, | 5143 }, |
| 5134 'target_conditions': [ | 5144 'target_conditions': [ |
| 5135 ['_type=="executable"', { | 5145 ['_type=="executable"', { |
| 5136 'postbuilds': [ | 5146 'postbuilds': [ |
| 5137 { | 5147 { |
| 5138 # Arranges for data (heap) pages to be protected against | 5148 # Arranges for data (heap) pages to be protected against |
| 5139 # code execution when running on Mac OS X 10.7 ("Lion"), and | 5149 # code execution when running on Mac OS X 10.7 ("Lion"), and |
| 5140 # ensures that the position-independent executable (PIE) bit | 5150 # ensures that the position-independent executable (PIE) bit |
| 5141 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). | 5151 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). |
| 5142 'variables': { | 5152 'variables': { |
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6127 # settings in target dicts. SYMROOT is a special case, because many other | 6137 # settings in target dicts. SYMROOT is a special case, because many other |
| 6128 # Xcode variables depend on it, including variables such as | 6138 # Xcode variables depend on it, including variables such as |
| 6129 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6139 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6130 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6140 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6131 # files to appear (when present) in the UI as actual files and not red | 6141 # files to appear (when present) in the UI as actual files and not red |
| 6132 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6142 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6133 # and therefore SYMROOT, needs to be set at the project level. | 6143 # and therefore SYMROOT, needs to be set at the project level. |
| 6134 'SYMROOT': '<(DEPTH)/xcodebuild', | 6144 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6135 }, | 6145 }, |
| 6136 } | 6146 } |
| OLD | NEW |