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 3078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3089 'ldflags': [ | 3089 'ldflags': [ |
3090 '-Wl,--no-as-needed', | 3090 '-Wl,--no-as-needed', |
3091 ], | 3091 ], |
3092 }], | 3092 }], |
3093 ['debug_unwind_tables==1', { | 3093 ['debug_unwind_tables==1', { |
3094 'cflags': ['-funwind-tables'], | 3094 'cflags': ['-funwind-tables'], |
3095 }, { | 3095 }, { |
3096 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3096 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3097 }], | 3097 }], |
3098 # http://gcc.gnu.org/wiki/DebugFission | 3098 # http://gcc.gnu.org/wiki/DebugFission |
3099 # Requires gold and gcc >= 4.7 or clang. | 3099 # Requires gold and gcc >= 4.8 or clang. |
3100 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=47) and bi
nutils_version>=223', { | 3100 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bi
nutils_version>=223', { |
3101 'cflags': ['-gsplit-dwarf'], | 3101 'cflags': ['-gsplit-dwarf'], |
3102 'ldflags': ['-Wl,--gdb-index'], | 3102 'ldflags': ['-Wl,--gdb-index'], |
3103 }], | 3103 }], |
3104 ], | 3104 ], |
3105 }, | 3105 }, |
3106 'Release_Base': { | 3106 'Release_Base': { |
3107 'variables': { | 3107 'variables': { |
3108 'release_optimize%': '2', | 3108 'release_optimize%': '2', |
3109 # Binaries become big and gold is unable to perform GC | 3109 # Binaries become big and gold is unable to perform GC |
3110 # and remove unused sections for some of test targets | 3110 # and remove unused sections for some of test targets |
(...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5058 # settings in target dicts. SYMROOT is a special case, because many other | 5058 # settings in target dicts. SYMROOT is a special case, because many other |
5059 # Xcode variables depend on it, including variables such as | 5059 # Xcode variables depend on it, including variables such as |
5060 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5060 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5061 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5061 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5062 # files to appear (when present) in the UI as actual files and not red | 5062 # files to appear (when present) in the UI as actual files and not red |
5063 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5063 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5064 # and therefore SYMROOT, needs to be set at the project level. | 5064 # and therefore SYMROOT, needs to be set at the project level. |
5065 'SYMROOT': '<(DEPTH)/xcodebuild', | 5065 'SYMROOT': '<(DEPTH)/xcodebuild', |
5066 }, | 5066 }, |
5067 } | 5067 } |
OLD | NEW |