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 3805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3816 ], | 3816 ], |
3817 }], | 3817 }], |
3818 ], | 3818 ], |
3819 }], | 3819 }], |
3820 ['release_unwind_tables==1', { | 3820 ['release_unwind_tables==1', { |
3821 'cflags': ['-funwind-tables'], | 3821 'cflags': ['-funwind-tables'], |
3822 }, { | 3822 }, { |
3823 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3823 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3824 'defines': ['NO_UNWIND_TABLES'], | 3824 'defines': ['NO_UNWIND_TABLES'], |
3825 }], | 3825 }], |
3826 ['clang==1', { | |
3827 # Non-unique section names appears to make linker dead stripping | |
3828 # less effective. See http://crbug.com/483026#c20 | |
3829 # TODO(hans): Remove this if resolved upstream. | |
3830 'cflags': [ | |
3831 '-funique-section-names', | |
3832 ], | |
3833 }], | |
3834 ], | 3826 ], |
3835 }, | 3827 }, |
3836 }, | 3828 }, |
3837 'conditions': [ | 3829 'conditions': [ |
3838 ['target_arch=="ia32"', { | 3830 ['target_arch=="ia32"', { |
3839 'target_conditions': [ | 3831 'target_conditions': [ |
3840 ['_toolset=="target"', { | 3832 ['_toolset=="target"', { |
3841 'asflags': [ | 3833 'asflags': [ |
3842 # Needed so that libs with .s files (e.g. libicudata.a) | 3834 # Needed so that libs with .s files (e.g. libicudata.a) |
3843 # are compatible with the general 32-bit-ness. | 3835 # are compatible with the general 32-bit-ness. |
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6196 # settings in target dicts. SYMROOT is a special case, because many other | 6188 # settings in target dicts. SYMROOT is a special case, because many other |
6197 # Xcode variables depend on it, including variables such as | 6189 # Xcode variables depend on it, including variables such as |
6198 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6190 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6199 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6191 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6200 # files to appear (when present) in the UI as actual files and not red | 6192 # files to appear (when present) in the UI as actual files and not red |
6201 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6193 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6202 # and therefore SYMROOT, needs to be set at the project level. | 6194 # and therefore SYMROOT, needs to be set at the project level. |
6203 'SYMROOT': '<(DEPTH)/xcodebuild', | 6195 'SYMROOT': '<(DEPTH)/xcodebuild', |
6204 }, | 6196 }, |
6205 } | 6197 } |
OLD | NEW |