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 3787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3798 ], | 3798 ], |
3799 }], | 3799 }], |
3800 ], | 3800 ], |
3801 }], | 3801 }], |
3802 ['release_unwind_tables==1', { | 3802 ['release_unwind_tables==1', { |
3803 'cflags': ['-funwind-tables'], | 3803 'cflags': ['-funwind-tables'], |
3804 }, { | 3804 }, { |
3805 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3805 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3806 'defines': ['NO_UNWIND_TABLES'], | 3806 'defines': ['NO_UNWIND_TABLES'], |
3807 }], | 3807 }], |
3808 ['clang==1', { | |
3809 # Non-unique section names appears to make linker dead stripping | |
3810 # less effective. See http://crbug.com/483026#c20 | |
3811 # TODO(hans): Remove this if resolved upstream. | |
3812 'cflags': [ | |
3813 '-funique-section-names', | |
3814 ], | |
3815 }], | |
3816 ], | 3808 ], |
3817 }, | 3809 }, |
3818 }, | 3810 }, |
3819 'conditions': [ | 3811 'conditions': [ |
3820 ['target_arch=="ia32"', { | 3812 ['target_arch=="ia32"', { |
3821 'target_conditions': [ | 3813 'target_conditions': [ |
3822 ['_toolset=="target"', { | 3814 ['_toolset=="target"', { |
3823 'asflags': [ | 3815 'asflags': [ |
3824 # Needed so that libs with .s files (e.g. libicudata.a) | 3816 # Needed so that libs with .s files (e.g. libicudata.a) |
3825 # are compatible with the general 32-bit-ness. | 3817 # are compatible with the general 32-bit-ness. |
(...skipping 2379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6205 # settings in target dicts. SYMROOT is a special case, because many other | 6197 # settings in target dicts. SYMROOT is a special case, because many other |
6206 # Xcode variables depend on it, including variables such as | 6198 # Xcode variables depend on it, including variables such as |
6207 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6199 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6208 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6200 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6209 # files to appear (when present) in the UI as actual files and not red | 6201 # files to appear (when present) in the UI as actual files and not red |
6210 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6202 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6211 # and therefore SYMROOT, needs to be set at the project level. | 6203 # and therefore SYMROOT, needs to be set at the project level. |
6212 'SYMROOT': '<(DEPTH)/xcodebuild', | 6204 'SYMROOT': '<(DEPTH)/xcodebuild', |
6213 }, | 6205 }, |
6214 } | 6206 } |
OLD | NEW |