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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 'dependencies': [ | 1004 'dependencies': [ |
1005 # Needed to handle the #include chain: | 1005 # Needed to handle the #include chain: |
1006 # base/test/perf_test_suite.h | 1006 # base/test/perf_test_suite.h |
1007 # base/test/test_suite.h | 1007 # base/test/test_suite.h |
1008 # gtk/gtk.h | 1008 # gtk/gtk.h |
1009 '../build/linux/system.gyp:gtk', | 1009 '../build/linux/system.gyp:gtk', |
1010 ], | 1010 ], |
1011 }], | 1011 }], |
1012 ], | 1012 ], |
1013 }, | 1013 }, |
| 1014 { |
| 1015 'target_name': 'sanitizer_options', |
| 1016 'type': 'static_library', |
| 1017 'variables': { |
| 1018 # Every target is going to depend on sanitizer_options, so allow |
| 1019 # this one to depend on itself. |
| 1020 'prune_self_dependency': 1, |
| 1021 }, |
| 1022 'sources': [ |
| 1023 'debug/sanitizer_options.cc', |
| 1024 ], |
| 1025 'include_dirs': [ |
| 1026 '..', |
| 1027 ], |
| 1028 'cflags!': [ |
| 1029 '-fsanitize=address', |
| 1030 ], |
| 1031 'direct_dependent_settings': { |
| 1032 'ldflags': [ |
| 1033 '-Wl,-u_sanitizer_options_link_helper', |
| 1034 ], |
| 1035 }, |
| 1036 }, |
1014 ], | 1037 ], |
1015 'conditions': [ | 1038 'conditions': [ |
1016 ['OS!="ios"', { | 1039 ['OS!="ios"', { |
1017 'targets': [ | 1040 'targets': [ |
1018 { | 1041 { |
1019 'target_name': 'check_example', | 1042 'target_name': 'check_example', |
1020 'type': 'executable', | 1043 'type': 'executable', |
1021 'sources': [ | 1044 'sources': [ |
1022 'check_example.cc', | 1045 'check_example.cc', |
1023 ], | 1046 ], |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 'base_unittests.isolate', | 1372 'base_unittests.isolate', |
1350 ], | 1373 ], |
1351 'sources': [ | 1374 'sources': [ |
1352 'base_unittests.isolate', | 1375 'base_unittests.isolate', |
1353 ], | 1376 ], |
1354 }, | 1377 }, |
1355 ], | 1378 ], |
1356 }], | 1379 }], |
1357 ], | 1380 ], |
1358 } | 1381 } |
OLD | NEW |