dart-sdk/runtime/dart-runtime.gyp
whesse@google.com 0e40002890 Add native extensions to the Dart shell, on the linux platform.
BUG=
TEST=standalone/TestExtensionTest

Review URL: https://chromiumcodereview.appspot.com//9430051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4529 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 13:25:11 +00:00

68 lines
1.6 KiB
Python

# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
{
'includes': [
'vm/vm.gypi',
'bin/bin.gypi',
'third_party/double-conversion/src/double-conversion.gypi',
'third_party/jscre/jscre.gypi',
'tools/gyp/runtime-configurations.gypi',
],
'targets': [
{
'target_name': 'libdart',
'type': 'static_library',
'dependencies': [
'libdart_lib',
'libdart_vm',
'libjscre',
'libdouble_conversion',
],
'include_dirs': [
'.',
],
'sources': [
'include/dart_api.h',
'include/dart_debugger_api.h',
'vm/dart_api_impl.cc',
'vm/debugger_api_impl.cc',
],
'direct_dependent_settings': {
'include_dirs': [
'include',
],
},
},
{
# The Dart API is exported from this library to dynamically loaded shared
# libraries.
'target_name': 'libdart_export',
'type': 'static_library',
'dependencies': [
'libdart_lib',
'libdart_vm',
'libjscre',
'libdouble_conversion',
],
'include_dirs': [
'.',
],
'sources': [
'include/dart_api.h',
'include/dart_debugger_api.h',
'vm/dart_api_impl.cc',
'vm/debugger_api_impl.cc',
],
'defines': [
'DART_SHARED_LIB',
],
'direct_dependent_settings': {
'include_dirs': [
'include',
],
},
},
],
}