| 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 { | 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |