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

Side by Side Diff: base/base.gyp

Issue 357623003: Move default sanitizer options into build/ so that WebRTC can import them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/OWNERS » ('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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 ], 966 ],
967 'sources': [ 967 'sources': [
968 'test/run_all_perftests.cc', 968 'test/run_all_perftests.cc',
969 ], 969 ],
970 'direct_dependent_settings': { 970 'direct_dependent_settings': {
971 'defines': [ 971 'defines': [
972 'PERF_TEST', 972 'PERF_TEST',
973 ], 973 ],
974 }, 974 },
975 }, 975 },
976 {
977 'target_name': 'sanitizer_options',
978 'type': 'static_library',
979 'toolsets': ['host', 'target'],
980 'variables': {
981 # Every target is going to depend on sanitizer_options, so allow
982 # this one to depend on itself.
983 'prune_self_dependency': 1,
984 # Do not let 'none' targets depend on this one, they don't need to.
985 'link_dependency': 1,
986 },
987 'sources': [
988 'debug/sanitizer_options.cc',
989 ],
990 'include_dirs': [
991 '..',
992 ],
993 # Some targets may want to opt-out from ASan, TSan and MSan and link
994 # without the corresponding runtime libraries. We drop the libc++
995 # dependency and omit the compiler flags to avoid bringing instrumented
996 # code to those targets.
997 'conditions': [
998 ['use_custom_libcxx==1', {
999 'dependencies!': [
1000 '../third_party/libc++/libc++.gyp:libcxx_proxy',
1001 ],
1002 }],
1003 ['tsan==1', {
1004 'sources': [
1005 'debug/tsan_suppressions.cc',
1006 ],
1007 }],
1008 ],
1009 'cflags/': [
1010 ['exclude', '-fsanitize='],
1011 ['exclude', '-fsanitize-'],
1012 ],
1013 'direct_dependent_settings': {
1014 'ldflags': [
1015 '-Wl,-u_sanitizer_options_link_helper',
1016 ],
1017 },
1018 },
1019 ], 976 ],
1020 'conditions': [ 977 'conditions': [
1021 ['OS!="ios"', { 978 ['OS!="ios"', {
1022 'targets': [ 979 'targets': [
1023 { 980 {
1024 'target_name': 'check_example', 981 'target_name': 'check_example',
1025 'type': 'executable', 982 'type': 'executable',
1026 'sources': [ 983 'sources': [
1027 'check_example.cc', 984 'check_example.cc',
1028 ], 985 ],
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1498 'dependencies': [ 1455 'dependencies': [
1499 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1456 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1500 ], 1457 ],
1501 }], 1458 }],
1502 ], 1459 ],
1503 }, 1460 },
1504 ], 1461 ],
1505 }], 1462 }],
1506 ], 1463 ],
1507 } 1464 }
OLDNEW
« no previous file with comments | « no previous file | base/debug/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698