b5e5fcd160
- Started moving generic embedder code from sample into runtime/embedders/android. I'd like to move more in a later CL. - Removed dependence on vm/bin in sample. Ivan or Siva: can one of you review the changes under runtime? Review URL: https://codereview.chromium.org//11416343 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15766 260f80e4-7a28-3924-810f-c04153c831b5
52 lines
1.4 KiB
Python
52 lines
1.4 KiB
Python
# Copyright (c) 2012, 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.
|
|
|
|
{
|
|
'conditions': [
|
|
['OS=="android"',
|
|
{
|
|
'targets': [
|
|
{
|
|
# Dart shared library for Android.
|
|
'target_name': 'android_embedder',
|
|
'type': 'shared_library',
|
|
'dependencies': [
|
|
'libdart_lib_withcore',
|
|
'libdart_vm',
|
|
'libjscre',
|
|
'libdouble_conversion',
|
|
'generate_version_cc_file',
|
|
],
|
|
'include_dirs': [
|
|
'../..'
|
|
],
|
|
'defines': [
|
|
'DART_SHARED_LIB'
|
|
],
|
|
'sources': [
|
|
'../../include/dart_api.h',
|
|
'../../include/dart_debugger_api.h',
|
|
'../../vm/dart_api_impl.cc',
|
|
'../../vm/debugger_api_impl.cc',
|
|
'../../vm/version.h',
|
|
'support_android.cc',
|
|
'<(version_cc_file)',
|
|
],
|
|
'link_settings': {
|
|
'libraries': [ '-llog', '-lc' ],
|
|
'ldflags': [
|
|
'-z', 'muldefs'
|
|
],
|
|
'ldflags!': [
|
|
'-Wl,--exclude-libs=ALL',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
]
|
|
],
|
|
}
|
|
|