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

Unified Diff: samples/android_sample/android_sample.gyp

Issue 11883013: Refactored OpenGL embedder that works on Android, Mac or Linux. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months 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
Index: samples/android_sample/android_sample.gyp
===================================================================
--- samples/android_sample/android_sample.gyp (revision 16976)
+++ samples/android_sample/android_sample.gyp (working copy)
@@ -11,14 +11,16 @@
'target_name': 'android_sample',
'type': 'none',
'dependencies': [
+ 'copy_extension',
+ 'copy_main',
'../../runtime/dart-runtime.gyp:android_embedder',
+ 'copy_embedder',
],
'actions': [
# TODO(gram) - this should have a debug and release version.
{
'action_name': 'build_app',
'inputs': [
- 'assets/dart/*.dart',
],
'outputs': [
'bin/NativeActivity-debug.apk',
@@ -26,7 +28,38 @@
'action': [ 'ant', 'debug' ]
}
]
- }
+ },
+ {
+ 'target_name': 'copy_embedder',
+ 'type': 'none',
+ 'copies': [ {
+ # TODO(gram) - this should vary based on architecture.
+ 'destination': 'libs/x86',
+ 'files': [
+ '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so'
+ ],
+ }],
+ },
+ {
+ 'target_name': 'copy_extension',
+ 'type': 'none',
+ 'copies': [ {
+ 'destination': 'assets/dart',
+ 'files': [
+ '../../runtime/embedders/openglui/common/gl.dart'
+ ],
+ }],
+ },
+ {
+ 'target_name': 'copy_main',
+ 'type': 'none',
+ 'copies': [ {
+ 'destination': 'assets/dart',
+ 'files': [
+ '../../samples/simplegl/web/raytrace.dart'
+ ],
+ }],
+ },
]
}
]
« no previous file with comments | « samples/android_sample/AndroidManifest.xml ('k') | samples/android_sample/assets/dart/android_extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698