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 3308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3319 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 3319 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
3320 ], | 3320 ], |
3321 }], | 3321 }], |
3322 ['_toolset=="target" and OS=="linux"', { | 3322 ['_toolset=="target" and OS=="linux"', { |
3323 'ldflags': [ | 3323 'ldflags': [ |
3324 # http://crbug.com/234010. | 3324 # http://crbug.com/234010. |
3325 '-lrt', | 3325 '-lrt', |
3326 ], | 3326 ], |
3327 }], | 3327 }], |
3328 ], | 3328 ], |
3329 'dependencies': [ | |
3330 # This is only needed for executable targets, but checking _type | |
3331 # in a target_condition here makes gyp throw an exception. | |
3332 '<(DEPTH)/base/base.gyp:sanitizer_options', | |
3333 ], | |
3334 }], | 3329 }], |
3335 ['asan==1', { | 3330 ['asan==1', { |
3336 'target_conditions': [ | 3331 'target_conditions': [ |
3337 ['_toolset=="target"', { | 3332 ['_toolset=="target"', { |
3338 'cflags': [ | 3333 'cflags': [ |
3339 '-fsanitize=address', | 3334 '-fsanitize=address', |
3340 '-w', # http://crbug.com/162783 | 3335 '-w', # http://crbug.com/162783 |
3341 ], | 3336 ], |
3342 'ldflags': [ | 3337 'ldflags': [ |
3343 '-fsanitize=address', | 3338 '-fsanitize=address', |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4705 # settings in target dicts. SYMROOT is a special case, because many other | 4700 # settings in target dicts. SYMROOT is a special case, because many other |
4706 # Xcode variables depend on it, including variables such as | 4701 # Xcode variables depend on it, including variables such as |
4707 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4702 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4708 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4703 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4709 # files to appear (when present) in the UI as actual files and not red | 4704 # files to appear (when present) in the UI as actual files and not red |
4710 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4705 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4711 # and therefore SYMROOT, needs to be set at the project level. | 4706 # and therefore SYMROOT, needs to be set at the project level. |
4712 'SYMROOT': '<(DEPTH)/xcodebuild', | 4707 'SYMROOT': '<(DEPTH)/xcodebuild', |
4713 }, | 4708 }, |
4714 } | 4709 } |
OLD | NEW |