OLD | NEW |
1 # Copyright (c) 2011, 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 (e.g. V8). This is in no way a complete list of variables being | 6 # Dash 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 |
| 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. |
8 { | 11 { |
9 'variables': { | 12 'variables': { |
10 'library': 'static_library', | 13 'library': 'static_library', |
11 'component': 'static_library', | 14 'component': 'static_library', |
12 'host_arch': 'ia32', | 15 'host_arch': 'ia32', |
13 'target_arch': 'ia32', | 16 'target_arch': 'ia32', |
14 'v8_location': '<(DEPTH)/../third_party/v8', | 17 'v8_location': '<(DEPTH)/../third_party/v8', |
15 }, | 18 }, |
16 'conditions': [ | 19 'conditions': [ |
17 [ 'OS=="linux"', { | 20 [ 'OS=="linux"', { |
18 'target_defaults': { | 21 'target_defaults': { |
19 'ldflags': [ '-pthread', ], | 22 'ldflags': [ '-pthread', ], |
20 }, | 23 }, |
21 }], | 24 }], |
| 25 [ 'OS=="win"', { |
| 26 'target_defaults': { |
| 27 'msvs_cygwin_dirs': ['<(DEPTH)/../third_party/cygwin'], |
| 28 }, |
| 29 }], |
22 ], | 30 ], |
23 'includes': [ | 31 'includes': [ |
24 'xcode.gypi', | 32 'xcode.gypi', |
25 'configurations.gypi', | 33 'configurations.gypi', |
26 'source_filter.gypi', | 34 'source_filter.gypi', |
27 ], | 35 ], |
28 } | 36 } |
OLD | NEW |