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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |