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 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 ], | 1772 ], |
1773 }], | 1773 }], |
1774 ['asan==1 and OS=="win"', { | 1774 ['asan==1 and OS=="win"', { |
1775 # Since asan on windows uses Syzygy, we need /PROFILE turned on to | 1775 # Since asan on windows uses Syzygy, we need /PROFILE turned on to |
1776 # produce appropriate pdbs. | 1776 # produce appropriate pdbs. |
1777 'msvs_settings': { | 1777 'msvs_settings': { |
1778 'VCLinkerTool': { | 1778 'VCLinkerTool': { |
1779 'Profile': 'true', | 1779 'Profile': 'true', |
1780 }, | 1780 }, |
1781 }, | 1781 }, |
| 1782 'defines': ['ADDRESS_SANITIZER'], |
1782 }], # asan==1 and OS=="win" | 1783 }], # asan==1 and OS=="win" |
1783 ['coverage!=0', { | 1784 ['coverage!=0', { |
1784 'conditions': [ | 1785 'conditions': [ |
1785 ['OS=="mac" or OS=="ios"', { | 1786 ['OS=="mac" or OS=="ios"', { |
1786 'xcode_settings': { | 1787 'xcode_settings': { |
1787 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs | 1788 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs |
1788 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage | 1789 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage |
1789 }, | 1790 }, |
1790 }], | 1791 }], |
1791 ['OS=="mac"', { | 1792 ['OS=="mac"', { |
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3929 # settings in target dicts. SYMROOT is a special case, because many other | 3930 # settings in target dicts. SYMROOT is a special case, because many other |
3930 # Xcode variables depend on it, including variables such as | 3931 # Xcode variables depend on it, including variables such as |
3931 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3932 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3932 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3933 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3933 # files to appear (when present) in the UI as actual files and not red | 3934 # files to appear (when present) in the UI as actual files and not red |
3934 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3935 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3935 # and therefore SYMROOT, needs to be set at the project level. | 3936 # and therefore SYMROOT, needs to be set at the project level. |
3936 'SYMROOT': '<(DEPTH)/xcodebuild', | 3937 'SYMROOT': '<(DEPTH)/xcodebuild', |
3937 }, | 3938 }, |
3938 } | 3939 } |
OLD | NEW |