OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
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 | |
7 # by Chrome, but just the minimally needed subset. | |
8 { | |
9 'variables': { | |
10 'library': 'static_library', | |
11 'component': 'static_library', | |
12 'target_arch': 'ia32', | |
13 # Flag that tells us whether to build native support for dart:io. | |
14 'dart_io_support': 1, | |
15 # Flag that tells us whether this is an ASAN build. | |
16 'asan%': 0, | |
17 # Flag that tells us whether this is a MSAN build. | |
18 'msan%': 0, | |
19 # Flag that teslls us whether this is a TSAN build. | |
20 'tsan%': 0, | |
21 }, | |
22 'conditions': [ | |
23 [ 'OS=="linux"', { | |
24 'target_defaults': { | |
25 'ldflags': [ '-pthread', ], | |
26 }, | |
27 }], | |
28 [ 'OS=="win"', { | |
29 'target_defaults': { | |
30 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | |
31 }, | |
32 'includes': [ | |
33 'msvs.gypi', | |
34 ], | |
35 }], | |
36 [ 'OS=="mac"', { | |
37 'includes': [ | |
38 'xcode.gypi', | |
39 ], | |
40 }], | |
41 ], | |
42 'includes': [ | |
43 'configurations.gypi', | |
44 ], | |
45 } | |
OLD | NEW |