OLD | NEW |
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 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 [ 'OS=="linux"', { | 17 [ 'OS=="linux"', { |
18 'target_defaults': { | 18 'target_defaults': { |
19 'ldflags': [ '-pthread', ], | 19 'ldflags': [ '-pthread', ], |
20 }, | 20 }, |
21 }], | 21 }], |
22 [ 'OS=="win"', { | 22 [ 'OS=="win"', { |
23 'target_defaults': { | 23 'target_defaults': { |
24 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 24 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
25 }, | 25 }, |
26 'includes': [ | 26 'includes': [ |
27 'msvs.gypi', | 27 'msvs.gypi', |
28 ], | 28 ], |
29 }], | 29 }], |
30 [ 'OS=="mac"', { | 30 [ 'OS=="mac"', { |
31 'includes': [ | 31 'includes': [ |
32 'xcode.gypi', | 32 'xcode.gypi', |
33 ], | 33 ], |
34 }], | 34 }], |
35 ], | 35 ], |
36 'includes': [ | 36 'includes': [ |
37 'configurations.gypi', | 37 'configurations.gypi', |
38 ], | 38 ], |
39 } | 39 } |
OLD | NEW |