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

Unified Diff: runtime/embedders/android/android_embedder.gypi

Issue 11416343: Refactored Android samples / embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix type error on playBackground 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/embedders/android/support_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/android/android_embedder.gypi
diff --git a/samples/android_embedder/android_embedder.gyp b/runtime/embedders/android/android_embedder.gypi
similarity index 54%
rename from samples/android_embedder/android_embedder.gyp
rename to runtime/embedders/android/android_embedder.gypi
index a40ccb06b407d8c4141817c1ddb4ed65f51ffd01..54d60f6ecf3cd22d713bbde6e2d63fc95e70fe89 100644
--- a/samples/android_embedder/android_embedder.gyp
+++ b/runtime/embedders/android/android_embedder.gypi
@@ -3,9 +3,6 @@
# BSD-style license that can be found in the LICENSE file.
{
- 'variables': {
- 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
- },
'conditions': [
['OS=="android"',
{
@@ -15,28 +12,26 @@
'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',
+ 'libdart_lib_withcore',
+ 'libdart_vm',
+ 'libjscre',
+ 'libdouble_conversion',
+ 'generate_version_cc_file',
],
'include_dirs': [
- '../../runtime'
+ '../..'
],
'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',
- '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)',
+ '<(version_cc_file)',
],
'link_settings': {
'libraries': [ '-llog', '-lc' ],
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/embedders/android/support_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698