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

Unified 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, 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') | samples/android_embedder/builtin_nolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/android_embedder/android_embedder.gyp
===================================================================
--- samples/android_embedder/android_embedder.gyp (revision 0)
+++ samples/android_embedder/android_embedder.gyp (revision 0)
@@ -0,0 +1,56 @@
+# 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.
+
+{
+ 'variables': {
+ 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
+ },
+ 'conditions': [
+ ['OS=="android"',
+ {
+ 'targets': [
+ {
+ # Dart shared library for Android.
+ 'target_name': 'android_embedder',
+ 'type': 'shared_library',
+ 'dependencies': [
+ '../../runtime/dart-runtime.gyp:libdart_export',
+ '../../runtime/dart-runtime.gyp:libdart_builtin',
+ '../../runtime/dart-runtime.gyp:generate_snapshot_file',
+ ],
+ 'include_dirs': [
+ '../../runtime'
+ ],
+ 'defines': [
+ 'DART_SHARED_LIB'
+ ],
+ 'sources': [
+ 'support_android.cc',
+ 'builtin_nolib.cc',
+ '../../runtime/bin/socket.cc',
+ '../../runtime/bin/socket_android.cc',
+ '../../runtime/bin/eventhandler.cc',
+ '../../runtime/bin/eventhandler_android.cc',
+ '../../runtime/bin/process.cc',
+ '../../runtime/bin/process_android.cc',
+ '../../runtime/bin/platform.cc',
+ '../../runtime/bin/platform_android.cc',
+ '<(snapshot_cc_file)',
+ ],
+ 'link_settings': {
+ 'libraries': [ '-llog', '-lc' ],
+ 'ldflags': [
+ '-z', 'muldefs'
+ ],
+ 'ldflags!': [
+ '-Wl,--exclude-libs=ALL',
+ ],
+ },
+ },
+ ],
+ },
+ ]
+ ],
+}
+
« no previous file with comments | « dart.gyp ('k') | samples/android_embedder/builtin_nolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698