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 3265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3276 'cflags': [ | 3276 'cflags': [ |
3277 # TODO(hans) Enable integrated-as (crbug.com/124610). | 3277 # TODO(hans) Enable integrated-as (crbug.com/124610). |
3278 '-no-integrated-as', | 3278 '-no-integrated-as', |
3279 ], | 3279 ], |
3280 | 3280 |
3281 'ldflags!': [ | 3281 'ldflags!': [ |
3282 # Clang does not support the following options. | 3282 # Clang does not support the following options. |
3283 '-fuse-ld=gold', | 3283 '-fuse-ld=gold', |
3284 ], | 3284 ], |
3285 }], | 3285 }], |
| 3286 ['asan==1', { |
| 3287 'cflags': [ |
| 3288 '-marm', # Required for frame pointer based stack trac
es. |
| 3289 ], |
| 3290 }], |
3286 ], | 3291 ], |
3287 }], | 3292 }], |
3288 ], | 3293 ], |
3289 }], | 3294 }], |
3290 ], | 3295 ], |
3291 }], | 3296 }], |
3292 ['target_arch=="mipsel"', { | 3297 ['target_arch=="mipsel"', { |
3293 'target_conditions': [ | 3298 'target_conditions': [ |
3294 ['_toolset=="target"', { | 3299 ['_toolset=="target"', { |
3295 'conditions': [ | 3300 'conditions': [ |
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4838 # settings in target dicts. SYMROOT is a special case, because many other | 4843 # settings in target dicts. SYMROOT is a special case, because many other |
4839 # Xcode variables depend on it, including variables such as | 4844 # Xcode variables depend on it, including variables such as |
4840 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4845 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4841 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4846 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4842 # files to appear (when present) in the UI as actual files and not red | 4847 # files to appear (when present) in the UI as actual files and not red |
4843 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4848 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4844 # and therefore SYMROOT, needs to be set at the project level. | 4849 # and therefore SYMROOT, needs to be set at the project level. |
4845 'SYMROOT': '<(DEPTH)/xcodebuild', | 4850 'SYMROOT': '<(DEPTH)/xcodebuild', |
4846 }, | 4851 }, |
4847 } | 4852 } |
OLD | NEW |