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 3400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3411 }], | 3411 }], |
3412 # Common options for AddressSanitizer, LeakSanitizer, | 3412 # Common options for AddressSanitizer, LeakSanitizer, |
3413 # ThreadSanitizer and MemorySanitizer. | 3413 # ThreadSanitizer and MemorySanitizer. |
3414 ['asan==1 or lsan==1 or tsan==1 or msan==1', { | 3414 ['asan==1 or lsan==1 or tsan==1 or msan==1', { |
3415 'target_conditions': [ | 3415 'target_conditions': [ |
3416 ['_toolset=="target"', { | 3416 ['_toolset=="target"', { |
3417 'cflags': [ | 3417 'cflags': [ |
3418 '-fno-omit-frame-pointer', | 3418 '-fno-omit-frame-pointer', |
3419 '-gline-tables-only', | 3419 '-gline-tables-only', |
3420 ], | 3420 ], |
| 3421 'cflags!': [ |
| 3422 '-fomit-frame-pointer', |
| 3423 ], |
3421 'ldflags!': [ | 3424 'ldflags!': [ |
3422 # Functions interposed by the sanitizers can make ld think | 3425 # Functions interposed by the sanitizers can make ld think |
3423 # that some libraries aren't needed when they actually are, | 3426 # that some libraries aren't needed when they actually are, |
3424 # http://crbug.com/234010. As workaround, disable --as-needed. | 3427 # http://crbug.com/234010. As workaround, disable --as-needed. |
3425 '-Wl,--as-needed', | 3428 '-Wl,--as-needed', |
3426 ], | 3429 ], |
3427 'defines': [ | 3430 'defines': [ |
3428 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 3431 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
3429 ], | 3432 ], |
3430 }], | 3433 }], |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4827 # settings in target dicts. SYMROOT is a special case, because many other | 4830 # settings in target dicts. SYMROOT is a special case, because many other |
4828 # Xcode variables depend on it, including variables such as | 4831 # Xcode variables depend on it, including variables such as |
4829 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4832 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4830 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4833 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4831 # files to appear (when present) in the UI as actual files and not red | 4834 # files to appear (when present) in the UI as actual files and not red |
4832 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4835 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4833 # and therefore SYMROOT, needs to be set at the project level. | 4836 # and therefore SYMROOT, needs to be set at the project level. |
4834 'SYMROOT': '<(DEPTH)/xcodebuild', | 4837 'SYMROOT': '<(DEPTH)/xcodebuild', |
4835 }, | 4838 }, |
4836 } | 4839 } |
OLD | NEW |