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 3288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3299 'target_conditions': [ | 3299 'target_conditions': [ |
3300 ['_toolset=="target"', { | 3300 ['_toolset=="target"', { |
3301 'cflags': [ | 3301 'cflags': [ |
3302 '-fsanitize=leak', | 3302 '-fsanitize=leak', |
3303 ], | 3303 ], |
3304 'ldflags': [ | 3304 'ldflags': [ |
3305 '-fsanitize=leak', | 3305 '-fsanitize=leak', |
3306 ], | 3306 ], |
3307 'defines': [ | 3307 'defines': [ |
3308 'LEAK_SANITIZER', | 3308 'LEAK_SANITIZER', |
| 3309 'WTF_USE_LEAK_SANITIZER=1', |
3309 ], | 3310 ], |
3310 }], | 3311 }], |
3311 ], | 3312 ], |
3312 }], | 3313 }], |
3313 ['tsan==1', { | 3314 ['tsan==1', { |
3314 'target_conditions': [ | 3315 'target_conditions': [ |
3315 ['_toolset=="target"', { | 3316 ['_toolset=="target"', { |
3316 'cflags': [ | 3317 'cflags': [ |
3317 '-fsanitize=thread', | 3318 '-fsanitize=thread', |
3318 '-fPIC', | 3319 '-fPIC', |
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4714 # settings in target dicts. SYMROOT is a special case, because many other | 4715 # settings in target dicts. SYMROOT is a special case, because many other |
4715 # Xcode variables depend on it, including variables such as | 4716 # Xcode variables depend on it, including variables such as |
4716 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4717 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4717 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4718 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4718 # files to appear (when present) in the UI as actual files and not red | 4719 # files to appear (when present) in the UI as actual files and not red |
4719 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4720 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4720 # and therefore SYMROOT, needs to be set at the project level. | 4721 # and therefore SYMROOT, needs to be set at the project level. |
4721 'SYMROOT': '<(DEPTH)/xcodebuild', | 4722 'SYMROOT': '<(DEPTH)/xcodebuild', |
4722 }, | 4723 }, |
4723 } | 4724 } |
OLD | NEW |