Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: build/common.gypi

Issue 219283002: Do not add -g0 with "clang=1 asan=1". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2357 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], 2357 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
2358 }], 2358 }],
2359 ['use_udev==1', { 2359 ['use_udev==1', {
2360 'defines': ['USE_UDEV'], 2360 'defines': ['USE_UDEV'],
2361 }], 2361 }],
2362 ['fastbuild!=0', { 2362 ['fastbuild!=0', {
2363 'xcode_settings': { 2363 'xcode_settings': {
2364 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 2364 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
2365 }, 2365 },
2366 'conditions': [ 2366 'conditions': [
2367 ['clang==1', { 2367 ['clang==1 and asan==0 and msan==0 and tsan==0', {
2368 # Clang creates chubby debug information, which makes linking very 2368 # Clang creates chubby debug information, which makes linking very
2369 # slow. For now, don't create debug information with clang. See 2369 # slow. For now, don't create debug information with clang. See
2370 # http://crbug.com/70000 2370 # http://crbug.com/70000
2371 'conditions': [ 2371 'conditions': [
2372 ['OS=="linux"', { 2372 ['OS=="linux"', {
2373 'variables': { 2373 'variables': {
2374 'debug_extra_cflags': '-g0', 2374 'debug_extra_cflags': '-g0',
2375 }, 2375 },
2376 }], 2376 }],
2377 # Android builds symbols on release by default, disable them. 2377 # Android builds symbols on release by default, disable them.
(...skipping 2826 matching lines...) Expand 10 before | Expand all | Expand 10 after
5204 # settings in target dicts. SYMROOT is a special case, because many other 5204 # settings in target dicts. SYMROOT is a special case, because many other
5205 # Xcode variables depend on it, including variables such as 5205 # Xcode variables depend on it, including variables such as
5206 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5206 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5207 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5207 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5208 # files to appear (when present) in the UI as actual files and not red 5208 # files to appear (when present) in the UI as actual files and not red
5209 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5209 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5210 # and therefore SYMROOT, needs to be set at the project level. 5210 # and therefore SYMROOT, needs to be set at the project level.
5211 'SYMROOT': '<(DEPTH)/xcodebuild', 5211 'SYMROOT': '<(DEPTH)/xcodebuild',
5212 }, 5212 },
5213 } 5213 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698