Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: samples/android_embedder/android_embedder.gyp

Issue 11419237: Shared library for embedding VM in Android apps. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 with a snapshot of corelibs built in.
15 # designed to be called from Java (e.g. on Android)
vsm 2012/11/29 23:13:30 How about: # Dart shared library for Android.
gram 2012/11/29 23:23:23 Done.
16 'target_name': 'android_embedder',
17 'type': 'shared_library',
18 'dependencies': [
19 '../../runtime/dart-runtime.gyp:libdart_export',
20 '../../runtime/dart-runtime.gyp:libdart_builtin',
21 '../../runtime/dart-runtime.gyp:generate_snapshot_file',
22 ],
23 'include_dirs': [
24 '../../runtime'
25 ],
26 'defines': [
27 'DART_SHARED_LIB'
28 ],
29 'sources': [
30 'support_android.cc',
31 'builtin_nolib.cc',
32 '../../runtime/bin/socket.cc',
33 '../../runtime/bin/socket_android.cc',
34 '../../runtime/bin/eventhandler.cc',
35 '../../runtime/bin/eventhandler_android.cc',
36 '../../runtime/bin/process.cc',
37 '../../runtime/bin/process_android.cc',
38 '../../runtime/bin/platform.cc',
39 '../../runtime/bin/platform_android.cc',
40 '<(snapshot_cc_file)',
41 ],
42 'link_settings': {
43 'libraries': [ '-llog', '-lc' ],
44 'ldflags': [
45 '-z', 'muldefs'
46 ],
47 'ldflags!': [
48 '-Wl,--exclude-libs=ALL',
49 ],
50 },
51 },
52 ],
53 },
54 ]
55 ],
56 }
57
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698