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 3774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3785 ], | 3785 ], |
| 3786 }], | 3786 }], |
| 3787 ], | 3787 ], |
| 3788 }], | 3788 }], |
| 3789 ['release_unwind_tables==1', { | 3789 ['release_unwind_tables==1', { |
| 3790 'cflags': ['-funwind-tables'], | 3790 'cflags': ['-funwind-tables'], |
| 3791 }, { | 3791 }, { |
| 3792 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'], | 3792 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'], |
| 3793 'defines': ['NO_UNWIND_TABLES'], | 3793 'defines': ['NO_UNWIND_TABLES'], |
| 3794 }], | 3794 }], |
| 3795 ['clang==1', { | |
| 3796 # Non-unique section names appears to make linker dead stripping | |
| 3797 # less effective. | |
|
Nico
2015/05/14 21:11:09
Maybe link to the thread or put in a TODO to remov
hans
2015/05/14 21:25:20
Done.
| |
| 3798 'cflags': [ | |
| 3799 '-funique-section-names', | |
| 3800 ], | |
| 3801 }], | |
| 3795 ], | 3802 ], |
| 3796 }, | 3803 }, |
| 3797 }, | 3804 }, |
| 3798 'conditions': [ | 3805 'conditions': [ |
| 3799 ['target_arch=="ia32"', { | 3806 ['target_arch=="ia32"', { |
| 3800 'target_conditions': [ | 3807 'target_conditions': [ |
| 3801 ['_toolset=="target"', { | 3808 ['_toolset=="target"', { |
| 3802 'asflags': [ | 3809 'asflags': [ |
| 3803 # Needed so that libs with .s files (e.g. libicudata.a) | 3810 # Needed so that libs with .s files (e.g. libicudata.a) |
| 3804 # are compatible with the general 32-bit-ness. | 3811 # are compatible with the general 32-bit-ness. |
| (...skipping 2379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6184 # settings in target dicts. SYMROOT is a special case, because many other | 6191 # settings in target dicts. SYMROOT is a special case, because many other |
| 6185 # Xcode variables depend on it, including variables such as | 6192 # Xcode variables depend on it, including variables such as |
| 6186 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6193 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6187 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6194 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6188 # files to appear (when present) in the UI as actual files and not red | 6195 # files to appear (when present) in the UI as actual files and not red |
| 6189 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6196 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6190 # and therefore SYMROOT, needs to be set at the project level. | 6197 # and therefore SYMROOT, needs to be set at the project level. |
| 6191 'SYMROOT': '<(DEPTH)/xcodebuild', | 6198 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6192 }, | 6199 }, |
| 6193 } | 6200 } |
| OLD | NEW |