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

Side by Side Diff: runtime/bin/bin.gypi

Issue 2614493002: GN: Add option to build with TSAN (Closed)
Patch Set: Add an option for MSAN as well Created 3 years, 11 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
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/tools/gyp/runtime-configurations.gypi » ('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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
8 8
9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc',
10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc',
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1140 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
1141 }, 1141 },
1142 # Generate an import library on Windows, by exporting a function. 1142 # Generate an import library on Windows, by exporting a function.
1143 # Extensions use this import library to link to the API in dart.exe. 1143 # Extensions use this import library to link to the API in dart.exe.
1144 'msvs_settings': { 1144 'msvs_settings': {
1145 'VCLinkerTool': { 1145 'VCLinkerTool': {
1146 'AdditionalOptions': [ '/EXPORT:Dart_True' ], 1146 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
1147 }, 1147 },
1148 }, 1148 },
1149 }], 1149 }],
1150 ['OS == "linux" and asan == 0 and msan == 0', { 1150 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
1151 'dependencies': [ 1151 'dependencies': [
1152 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', 1152 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1153 ], 1153 ],
1154 }], 1154 }],
1155 ], 1155 ],
1156 'configurations': { 1156 'configurations': {
1157 'Dart_Linux_Base': { 1157 'Dart_Linux_Base': {
1158 # Have the linker add all symbols to the dynamic symbol table 1158 # Have the linker add all symbols to the dynamic symbol table
1159 # so that extensions can look them up dynamically in the binary. 1159 # so that extensions can look them up dynamically in the binary.
1160 'ldflags': [ 1160 'ldflags': [
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 ['include', 'builtin_natives.cc'], 1391 ['include', 'builtin_natives.cc'],
1392 ['include', '_gen\\.cc$'], 1392 ['include', '_gen\\.cc$'],
1393 ['include', '_test\\.(cc|h)$'], 1393 ['include', '_test\\.(cc|h)$'],
1394 ], 1394 ],
1395 'conditions': [ 1395 'conditions': [
1396 ['OS=="win"', { 1396 ['OS=="win"', {
1397 'link_settings': { 1397 'link_settings': {
1398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
1399 }, 1399 },
1400 }], 1400 }],
1401 ['OS == "linux" and asan == 0 and msan == 0', { 1401 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', {
1402 'dependencies': [ 1402 'dependencies': [
1403 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', 1403 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc',
1404 ], 1404 ],
1405 }], 1405 }],
1406 ], 1406 ],
1407 'configurations': { 1407 'configurations': {
1408 'Dart_Linux_Base': { 1408 'Dart_Linux_Base': {
1409 # Have the linker add all symbols to the dynamic symbol table 1409 # Have the linker add all symbols to the dynamic symbol table
1410 # so that extensions can look them up dynamically in the binary. 1410 # so that extensions can look them up dynamically in the binary.
1411 'ldflags': [ 1411 'ldflags': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 }], 1454 }],
1455 ['OS=="linux"', { 1455 ['OS=="linux"', {
1456 'cflags': [ 1456 'cflags': [
1457 '-fPIC', 1457 '-fPIC',
1458 ], 1458 ],
1459 }], 1459 }],
1460 ], 1460 ],
1461 }, 1461 },
1462 ], 1462 ],
1463 } 1463 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/tools/gyp/runtime-configurations.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698