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 (e.g. V8). This is in no way a complete list of variables being | 6 # Dart project (e.g. V8). This is in no way a complete list of variables being |
7 # defined by Chrome, but just the minimally needed subset. | 7 # defined 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 'v8_location': '<(DEPTH)/third_party/v8', | 13 'v8_location': '<(DEPTH)/third_party/v8', |
14 # Flag that tells us whether to build native support for dart:io. | 14 # Flag that tells us whether to build native support for dart:io. |
15 'dart_io_support': 1, | 15 'dart_io_support': 1, |
16 }, | 16 }, |
17 'conditions': [ | 17 'conditions': [ |
18 [ 'OS=="linux"', { | 18 [ 'OS=="linux"', { |
19 'target_defaults': { | 19 'target_defaults': { |
20 'ldflags': [ '-pthread', ], | 20 'ldflags': [ '-pthread', ], |
21 }, | 21 }, |
22 }], | 22 }], |
23 [ 'OS=="win"', { | 23 [ 'OS=="win"', { |
24 'target_defaults': { | 24 'target_defaults': { |
25 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 25 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
26 }, | 26 }, |
| 27 'includes': [ |
| 28 'msvs.gypi', |
| 29 ], |
| 30 }], |
| 31 [ 'OS=="mac"', { |
| 32 'includes': [ |
| 33 'xcode.gypi', |
| 34 ], |
27 }], | 35 }], |
28 ], | 36 ], |
29 'includes': [ | 37 'includes': [ |
30 'xcode.gypi', | |
31 'msvs.gypi', | |
32 'configurations.gypi', | 38 'configurations.gypi', |
33 ], | 39 ], |
34 } | 40 } |
OLD | NEW |