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

Side by Side Diff: base/base.gyp

Issue 25687005: Set the default ASan options for executables built with ASan on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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') | build/common.gypi » ('J')
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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 'dependencies': [ 1013 'dependencies': [
1014 # Needed to handle the #include chain: 1014 # Needed to handle the #include chain:
1015 # base/test/perf_test_suite.h 1015 # base/test/perf_test_suite.h
1016 # base/test/test_suite.h 1016 # base/test/test_suite.h
1017 # gtk/gtk.h 1017 # gtk/gtk.h
1018 '../build/linux/system.gyp:gtk', 1018 '../build/linux/system.gyp:gtk',
1019 ], 1019 ],
1020 }], 1020 }],
1021 ], 1021 ],
1022 }, 1022 },
1023 {
1024 'target_name': 'sanitizer_options',
1025 'type': 'static_library',
1026 'variables': {
1027 # Every target is going to depend on sanitizer_options, so allow
1028 # this one to depend on itself.
1029 'prune_self_dependency': 1,
1030 },
1031 'sources': [
1032 'debug/sanitizer_options.cc',
1033 ],
1034 'include_dirs': [
1035 '..',
1036 ],
1037 'cflags!': [
1038 '-fsanitize=address',
1039 ],
1040 'direct_dependent_settings': {
1041 'ldflags': [
1042 '-Wl,-u_sanitizer_options_link_helper',
1043 ],
1044 },
1045 },
1023 ], 1046 ],
1024 'conditions': [ 1047 'conditions': [
1025 ['OS!="ios"', { 1048 ['OS!="ios"', {
1026 'targets': [ 1049 'targets': [
1027 { 1050 {
1028 'target_name': 'check_example', 1051 'target_name': 'check_example',
1029 'type': 'executable', 1052 'type': 'executable',
1030 'sources': [ 1053 'sources': [
1031 'check_example.cc', 1054 'check_example.cc',
1032 ], 1055 ],
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 'base_unittests.isolate', 1381 'base_unittests.isolate',
1359 ], 1382 ],
1360 'sources': [ 1383 'sources': [
1361 'base_unittests.isolate', 1384 'base_unittests.isolate',
1362 ], 1385 ],
1363 }, 1386 },
1364 ], 1387 ],
1365 }], 1388 }],
1366 ], 1389 ],
1367 } 1390 }
OLDNEW
« no previous file with comments | « no previous file | base/debug/sanitizer_options.cc » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698