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 { |
| 6 'variables': { |
| 7 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', |
| 8 }, |
| 9 'conditions': [ |
| 10 ['OS=="android"', |
| 11 { |
| 12 'targets': [ |
| 13 { |
| 14 # Dart shared library for Android. |
| 15 'target_name': 'android_embedder', |
| 16 'type': 'shared_library', |
| 17 'dependencies': [ |
| 18 '../../runtime/dart-runtime.gyp:libdart_export', |
| 19 '../../runtime/dart-runtime.gyp:libdart_builtin', |
| 20 '../../runtime/dart-runtime.gyp:generate_snapshot_file', |
| 21 ], |
| 22 'include_dirs': [ |
| 23 '../../runtime' |
| 24 ], |
| 25 'defines': [ |
| 26 'DART_SHARED_LIB' |
| 27 ], |
| 28 'sources': [ |
| 29 'support_android.cc', |
| 30 'builtin_nolib.cc', |
| 31 '../../runtime/bin/socket.cc', |
| 32 '../../runtime/bin/socket_android.cc', |
| 33 '../../runtime/bin/eventhandler.cc', |
| 34 '../../runtime/bin/eventhandler_android.cc', |
| 35 '../../runtime/bin/process.cc', |
| 36 '../../runtime/bin/process_android.cc', |
| 37 '../../runtime/bin/platform.cc', |
| 38 '../../runtime/bin/platform_android.cc', |
| 39 '<(snapshot_cc_file)', |
| 40 ], |
| 41 'link_settings': { |
| 42 'libraries': [ '-llog', '-lc' ], |
| 43 'ldflags': [ |
| 44 '-z', 'muldefs' |
| 45 ], |
| 46 'ldflags!': [ |
| 47 '-Wl,--exclude-libs=ALL', |
| 48 ], |
| 49 }, |
| 50 }, |
| 51 ], |
| 52 }, |
| 53 ] |
| 54 ], |
| 55 } |
| 56 |
OLD | NEW |