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

Side by Side Diff: base/base.gyp

Issue 230263003: Set the default ASan options for executables built with ASan on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled legacy_pthread_cond on the bots. 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/debug/sanitizer_options.cc » ('j') | 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 'dependencies': [ 979 'dependencies': [
980 # Needed to handle the #include chain: 980 # Needed to handle the #include chain:
981 # base/test/perf_test_suite.h 981 # base/test/perf_test_suite.h
982 # base/test/test_suite.h 982 # base/test/test_suite.h
983 # gtk/gtk.h 983 # gtk/gtk.h
984 '../build/linux/system.gyp:gtk', 984 '../build/linux/system.gyp:gtk',
985 ], 985 ],
986 }], 986 }],
987 ], 987 ],
988 }, 988 },
989 {
990 'target_name': 'sanitizer_options',
991 'type': 'static_library',
992 'toolsets': ['host', 'target'],
993 'variables': {
994 # Every target is going to depend on sanitizer_options, so allow
995 # this one to depend on itself.
996 'prune_self_dependency': 1,
997 # Do not let 'none' targets depend on this one, they don't need to.
998 'link_dependency': 1,
999 },
1000 'sources': [
1001 'debug/sanitizer_options.cc',
1002 ],
1003 'include_dirs': [
1004 '..',
1005 ],
1006 'cflags!': [
1007 '-fsanitize=address',
1008 ],
1009 'direct_dependent_settings': {
1010 'ldflags': [
1011 '-Wl,-u_sanitizer_options_link_helper',
1012 ],
1013 },
1014 },
989 ], 1015 ],
990 'conditions': [ 1016 'conditions': [
991 ['OS!="ios"', { 1017 ['OS!="ios"', {
992 'targets': [ 1018 'targets': [
993 { 1019 {
994 'target_name': 'check_example', 1020 'target_name': 'check_example',
995 'type': 'executable', 1021 'type': 'executable',
996 'sources': [ 1022 'sources': [
997 'check_example.cc', 1023 'check_example.cc',
998 ], 1024 ],
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 'base_unittests.isolate', 1468 'base_unittests.isolate',
1443 ], 1469 ],
1444 'sources': [ 1470 'sources': [
1445 'base_unittests.isolate', 1471 'base_unittests.isolate',
1446 ], 1472 ],
1447 }, 1473 },
1448 ], 1474 ],
1449 }], 1475 }],
1450 ], 1476 ],
1451 } 1477 }
OLDNEW
« no previous file with comments | « no previous file | base/debug/sanitizer_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698