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 3276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3287 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 3287 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
3288 ], | 3288 ], |
3289 }], | 3289 }], |
3290 ['_toolset=="target" and OS=="linux"', { | 3290 ['_toolset=="target" and OS=="linux"', { |
3291 'ldflags': [ | 3291 'ldflags': [ |
3292 # http://crbug.com/234010. | 3292 # http://crbug.com/234010. |
3293 '-lrt', | 3293 '-lrt', |
3294 ], | 3294 ], |
3295 }], | 3295 }], |
3296 ], | 3296 ], |
3297 'dependencies': [ | |
Nico
2013/11/01 23:56:22
Can you add a comment like "# This is only needed
Alexander Potapenko
2013/11/11 09:41:40
Done.
| |
3298 '<(DEPTH)/base/base.gyp:sanitizer_options', | |
3299 ], | |
3297 }], | 3300 }], |
3298 ['asan==1', { | 3301 ['asan==1', { |
3299 'target_conditions': [ | 3302 'target_conditions': [ |
3300 ['_toolset=="target"', { | 3303 ['_toolset=="target"', { |
3301 'cflags': [ | 3304 'cflags': [ |
3302 '-fsanitize=address', | 3305 '-fsanitize=address', |
3303 '-w', # http://crbug.com/162783 | 3306 '-w', # http://crbug.com/162783 |
3304 ], | 3307 ], |
3305 'ldflags': [ | 3308 'ldflags': [ |
3306 '-fsanitize=address', | 3309 '-fsanitize=address', |
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4653 # settings in target dicts. SYMROOT is a special case, because many other | 4656 # settings in target dicts. SYMROOT is a special case, because many other |
4654 # Xcode variables depend on it, including variables such as | 4657 # Xcode variables depend on it, including variables such as |
4655 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4658 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4656 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4659 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4657 # files to appear (when present) in the UI as actual files and not red | 4660 # files to appear (when present) in the UI as actual files and not red |
4658 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4661 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4659 # and therefore SYMROOT, needs to be set at the project level. | 4662 # and therefore SYMROOT, needs to be set at the project level. |
4660 'SYMROOT': '<(DEPTH)/xcodebuild', | 4663 'SYMROOT': '<(DEPTH)/xcodebuild', |
4661 }, | 4664 }, |
4662 } | 4665 } |
OLD | NEW |