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 3793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3804 ], | 3804 ], |
3805 }], | 3805 }], |
3806 ], | 3806 ], |
3807 }], | 3807 }], |
3808 ['release_unwind_tables==1', { | 3808 ['release_unwind_tables==1', { |
3809 'cflags': ['-funwind-tables'], | 3809 'cflags': ['-funwind-tables'], |
3810 }, { | 3810 }, { |
3811 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3811 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3812 'defines': ['NO_UNWIND_TABLES'], | 3812 'defines': ['NO_UNWIND_TABLES'], |
3813 }], | 3813 }], |
| 3814 ['clang==1', { |
| 3815 # Non-unique section names appears to make linker dead stripping |
| 3816 # less effective. See http://crbug.com/483026#c20 |
| 3817 # TODO(hans): Remove this if resolved upstream. |
| 3818 'cflags': [ |
| 3819 '-funique-section-names', |
| 3820 ], |
| 3821 }], |
3814 ], | 3822 ], |
3815 }, | 3823 }, |
3816 }, | 3824 }, |
3817 'conditions': [ | 3825 'conditions': [ |
3818 ['target_arch=="ia32"', { | 3826 ['target_arch=="ia32"', { |
3819 'target_conditions': [ | 3827 'target_conditions': [ |
3820 ['_toolset=="target"', { | 3828 ['_toolset=="target"', { |
3821 'asflags': [ | 3829 'asflags': [ |
3822 # Needed so that libs with .s files (e.g. libicudata.a) | 3830 # Needed so that libs with .s files (e.g. libicudata.a) |
3823 # are compatible with the general 32-bit-ness. | 3831 # are compatible with the general 32-bit-ness. |
(...skipping 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6215 # settings in target dicts. SYMROOT is a special case, because many other | 6223 # settings in target dicts. SYMROOT is a special case, because many other |
6216 # Xcode variables depend on it, including variables such as | 6224 # Xcode variables depend on it, including variables such as |
6217 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6225 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6218 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6226 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6219 # files to appear (when present) in the UI as actual files and not red | 6227 # files to appear (when present) in the UI as actual files and not red |
6220 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6228 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6221 # and therefore SYMROOT, needs to be set at the project level. | 6229 # and therefore SYMROOT, needs to be set at the project level. |
6222 'SYMROOT': '<(DEPTH)/xcodebuild', | 6230 'SYMROOT': '<(DEPTH)/xcodebuild', |
6223 }, | 6231 }, |
6224 } | 6232 } |
OLD | NEW |