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 # Dash project. This is in no way a complete list of variables being defined | 6 # Dash 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 # Note: this file is similar to all.gypi, but is used when running gyp | 9 # Note: this file is similar to all.gypi, but is used when running gyp |
10 # from subproject directories. This is deprecated, but still supported. | 10 # from subproject directories. This is deprecated, but still supported. |
11 { | 11 { |
12 'variables': { | 12 'variables': { |
13 'library': 'static_library', | 13 'library': 'static_library', |
14 'component': 'static_library', | 14 'component': 'static_library', |
15 'target_arch%': 'ia32', | 15 'target_arch': 'ia32', |
16 # Flag that tells us whether to build native support for dart:io. | 16 # Flag that tells us whether to build native support for dart:io. |
17 'dart_io_support': 1, | 17 'dart_io_support': 1, |
18 }, | 18 }, |
19 'conditions': [ | 19 'conditions': [ |
20 [ 'OS=="linux"', { | 20 [ 'OS=="linux"', { |
21 'target_defaults': { | 21 'target_defaults': { |
22 'ldflags': [ '-pthread', ], | 22 'ldflags': [ '-pthread', ], |
23 }, | 23 }, |
24 }], | 24 }], |
25 [ 'OS=="win"', { | 25 [ 'OS=="win"', { |
26 'target_defaults': { | 26 'target_defaults': { |
27 'msvs_cygwin_dirs': ['<(DEPTH)/../third_party/cygwin'], | 27 'msvs_cygwin_dirs': ['<(DEPTH)/../third_party/cygwin'], |
28 }, | 28 }, |
29 'includes': [ | 29 'includes': [ |
30 'msvs.gypi', | 30 'msvs.gypi', |
31 ], | 31 ], |
32 }], | 32 }], |
33 [ 'OS=="mac"', { | 33 [ 'OS=="mac"', { |
34 'includes': [ | 34 'includes': [ |
35 'xcode.gypi', | 35 'xcode.gypi', |
36 ], | 36 ], |
37 }], | 37 }], |
38 ], | 38 ], |
39 'includes': [ | 39 'includes': [ |
40 'configurations.gypi', | 40 'configurations.gypi', |
41 ], | 41 ], |
42 } | 42 } |
OLD | NEW |