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

Unified Diff: runtime/bin/bin.gypi

Issue 11362103: Rotating spheres sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More cleanup Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart.gyp ('k') | runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/bin.gypi
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
index 45d808c5a62fe0efb4dd429b1ff0f8ea9832ca1a..6f00a4ca73af5bb0416e921f38722b65baa96697 100644
--- a/runtime/bin/bin.gypi
+++ b/runtime/bin/bin.gypi
@@ -522,5 +522,46 @@
],
},
],
+ 'conditions': [
+ ['OS=="android"',
+ {
+ 'targets': [
+ {
+ # dart shared library with a snapshot of corelibs built in.
+ # designed to be called from Java (e.g. on Android)
+ 'target_name': 'dart_so',
+ 'type': 'shared_library',
+ 'dependencies': [
+ 'libdart_export',
+ 'libdart_builtin',
+ 'generate_snapshot_file',
+ ],
+ 'include_dirs': [
+ '..'
+ ],
+ 'defines': [
+ 'DART_SHARED_LIB'
+ ],
+ 'sources': [
+ 'main.cc',
+ 'main_android.cc',
+ 'builtin_nolib.cc',
+ '<(snapshot_cc_file)',
+ ],
+ 'link_settings': {
+ 'libraries': [ '-llog' ],
+ 'ldflags': [
+ '-z', 'muldefs',
+ ],
+ 'ldflags!': [
+ '-Wl,--exclude-libs=ALL',
+ ],
+ },
+ },
+ ],
+ },
+ ]
+ ],
+
}
« no previous file with comments | « dart.gyp ('k') | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698