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 3267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3278 ], | 3278 ], |
3279 }], | 3279 }], |
3280 ['_toolset=="target" and OS=="linux"', { | 3280 ['_toolset=="target" and OS=="linux"', { |
3281 'ldflags': [ | 3281 'ldflags': [ |
3282 # http://crbug.com/234010. | 3282 # http://crbug.com/234010. |
3283 '-lrt', | 3283 '-lrt', |
3284 ], | 3284 ], |
3285 }], | 3285 }], |
3286 ], | 3286 ], |
3287 }], | 3287 }], |
| 3288 # TODO(glider): this is a temporary workaround for |
| 3289 # http://crbug.com/310479. |
| 3290 ['tsan==1', { |
| 3291 'target_conditions': [ |
| 3292 ['_toolset=="target"', { |
| 3293 'cflags!': [ |
| 3294 '-gline-tables-only', |
| 3295 ], |
| 3296 'cflags': [ |
| 3297 '-g', |
| 3298 '-O1', |
| 3299 '-fno-inline-functions', |
| 3300 ' -fno-inline', |
| 3301 ], |
| 3302 }], |
| 3303 ], |
| 3304 }], |
3288 ['asan==1', { | 3305 ['asan==1', { |
3289 'target_conditions': [ | 3306 'target_conditions': [ |
3290 ['_toolset=="target"', { | 3307 ['_toolset=="target"', { |
3291 'cflags': [ | 3308 'cflags': [ |
3292 '-fsanitize=address', | 3309 '-fsanitize=address', |
3293 '-w', # http://crbug.com/162783 | 3310 '-w', # http://crbug.com/162783 |
3294 ], | 3311 ], |
3295 'ldflags': [ | 3312 'ldflags': [ |
3296 '-fsanitize=address', | 3313 '-fsanitize=address', |
3297 ], | 3314 ], |
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4732 # settings in target dicts. SYMROOT is a special case, because many other | 4749 # settings in target dicts. SYMROOT is a special case, because many other |
4733 # Xcode variables depend on it, including variables such as | 4750 # Xcode variables depend on it, including variables such as |
4734 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4751 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4735 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4752 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4736 # files to appear (when present) in the UI as actual files and not red | 4753 # files to appear (when present) in the UI as actual files and not red |
4737 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4754 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4738 # and therefore SYMROOT, needs to be set at the project level. | 4755 # and therefore SYMROOT, needs to be set at the project level. |
4739 'SYMROOT': '<(DEPTH)/xcodebuild', | 4756 'SYMROOT': '<(DEPTH)/xcodebuild', |
4740 }, | 4757 }, |
4741 } | 4758 } |
OLD | NEW |