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