| 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 (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 | 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 'v8_location': '<(DEPTH)/../third_party/v8', | 16 'v8_location': '<(DEPTH)/../third_party/v8', |
| 17 # Flag that tells us whether to build native support for dart:io. | 17 # Flag that tells us whether to build native support for dart:io. |
| 18 'dart_io_support': 1, | 18 'dart_io_support': 1, |
| 19 }, | 19 }, |
| 20 'conditions': [ | 20 'conditions': [ |
| 21 [ 'OS=="linux"', { | 21 [ 'OS=="linux"', { |
| 22 'target_defaults': { | 22 'target_defaults': { |
| 23 'ldflags': [ '-pthread', ], | 23 'ldflags': [ '-pthread', ], |
| 24 }, | 24 }, |
| 25 }], | 25 }], |
| 26 [ 'OS=="win"', { | 26 [ 'OS=="win"', { |
| 27 'target_defaults': { | 27 'target_defaults': { |
| 28 'msvs_cygwin_dirs': ['<(DEPTH)/../third_party/cygwin'], | 28 'msvs_cygwin_dirs': ['<(DEPTH)/../third_party/cygwin'], |
| 29 }, | 29 }, |
| 30 'includes': [ |
| 31 'msvs.gypi', |
| 32 ], |
| 33 }], |
| 34 [ 'OS=="mac"', { |
| 35 'includes': [ |
| 36 'xcode.gypi', |
| 37 ], |
| 30 }], | 38 }], |
| 31 ], | 39 ], |
| 32 'includes': [ | 40 'includes': [ |
| 33 'xcode.gypi', | |
| 34 'msvs.gypi', | |
| 35 'configurations.gypi', | 41 'configurations.gypi', |
| 36 ], | 42 ], |
| 37 } | 43 } |
| OLD | NEW |