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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 'dependencies': [ | 1007 'dependencies': [ |
1008 # Needed to handle the #include chain: | 1008 # Needed to handle the #include chain: |
1009 # base/test/perf_test_suite.h | 1009 # base/test/perf_test_suite.h |
1010 # base/test/test_suite.h | 1010 # base/test/test_suite.h |
1011 # gtk/gtk.h | 1011 # gtk/gtk.h |
1012 '../build/linux/system.gyp:gtk', | 1012 '../build/linux/system.gyp:gtk', |
1013 ], | 1013 ], |
1014 }], | 1014 }], |
1015 ], | 1015 ], |
1016 }, | 1016 }, |
| 1017 { |
| 1018 'target_name': 'sanitizer_options', |
| 1019 'type': 'static_library', |
| 1020 'variables': { |
| 1021 # Every target is going to depend on sanitizer_options, so allow |
| 1022 # this one to depend on itself. |
| 1023 'prune_self_dependency': 1, |
| 1024 # Do not let 'none' targets depend on this one, they don't need to. |
| 1025 'link_dependency': 1, |
| 1026 }, |
| 1027 'sources': [ |
| 1028 'debug/sanitizer_options.cc', |
| 1029 ], |
| 1030 'include_dirs': [ |
| 1031 '..', |
| 1032 ], |
| 1033 'cflags!': [ |
| 1034 '-fsanitize=address', |
| 1035 ], |
| 1036 'direct_dependent_settings': { |
| 1037 'ldflags': [ |
| 1038 '-Wl,-u_sanitizer_options_link_helper', |
| 1039 ], |
| 1040 }, |
| 1041 }, |
1017 ], | 1042 ], |
1018 'conditions': [ | 1043 'conditions': [ |
1019 ['OS!="ios"', { | 1044 ['OS!="ios"', { |
1020 'targets': [ | 1045 'targets': [ |
1021 { | 1046 { |
1022 'target_name': 'check_example', | 1047 'target_name': 'check_example', |
1023 'type': 'executable', | 1048 'type': 'executable', |
1024 'sources': [ | 1049 'sources': [ |
1025 'check_example.cc', | 1050 'check_example.cc', |
1026 ], | 1051 ], |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 'base_unittests.isolate', | 1495 'base_unittests.isolate', |
1471 ], | 1496 ], |
1472 'sources': [ | 1497 'sources': [ |
1473 'base_unittests.isolate', | 1498 'base_unittests.isolate', |
1474 ], | 1499 ], |
1475 }, | 1500 }, |
1476 ], | 1501 ], |
1477 }], | 1502 }], |
1478 ], | 1503 ], |
1479 } | 1504 } |
OLD | NEW |