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

Side by Side Diff: tools/gyp/all.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 | « tools/gn.py ('k') | no next file » | 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 # A set of variables needed to build some of the Chrome based subparts of the 5 # A set of variables needed to build some of the Chrome based subparts of the
6 # Dart project. This is in no way a complete list of variables being defined 6 # Dart project. This is in no way a complete list of variables being defined
7 # by Chrome, but just the minimally needed subset. 7 # by Chrome, but just the minimally needed subset.
8 { 8 {
9 'variables': { 9 'variables': {
10 'library': 'static_library', 10 'library': 'static_library',
11 'component': 'static_library', 11 'component': 'static_library',
12 'target_arch': 'ia32', 12 'target_arch': 'ia32',
13 # Flag that tells us whether to build native support for dart:io. 13 # Flag that tells us whether to build native support for dart:io.
14 'dart_io_support': 1, 14 'dart_io_support': 1,
15 # Flag that tells us whether this is an ASAN build. 15 # Flag that tells us whether this is an ASAN build.
16 'asan%': 0, 16 'asan%': 0,
17 # Flag that tells us whether this is a MSAN build. 17 # Flag that tells us whether this is a MSAN build.
18 'msan%': 0, 18 'msan%': 0,
19 # Flag that teslls us whether this is a TSAN build.
20 'tsan%': 0,
19 }, 21 },
20 'conditions': [ 22 'conditions': [
21 [ 'OS=="linux"', { 23 [ 'OS=="linux"', {
22 'target_defaults': { 24 'target_defaults': {
23 'ldflags': [ '-pthread', ], 25 'ldflags': [ '-pthread', ],
24 }, 26 },
25 }], 27 }],
26 [ 'OS=="win"', { 28 [ 'OS=="win"', {
27 'target_defaults': { 29 'target_defaults': {
28 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 30 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
29 }, 31 },
30 'includes': [ 32 'includes': [
31 'msvs.gypi', 33 'msvs.gypi',
32 ], 34 ],
33 }], 35 }],
34 [ 'OS=="mac"', { 36 [ 'OS=="mac"', {
35 'includes': [ 37 'includes': [
36 'xcode.gypi', 38 'xcode.gypi',
37 ], 39 ],
38 }], 40 }],
39 ], 41 ],
40 'includes': [ 42 'includes': [
41 'configurations.gypi', 43 'configurations.gypi',
42 ], 44 ],
43 } 45 }
OLDNEW
« no previous file with comments | « tools/gn.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698