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

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)
@@ -12,6 +12,8 @@
'type': 'none',
'dependencies': [
'../../runtime/dart-runtime.gyp:android_embedder',
+ 'copy_embedder',
+ 'copy_extension',
],
'actions': [
# TODO(gram) - this should have a debug and release version.
@@ -26,7 +28,28 @@
'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/extension.dart'
+ ],
+ }],
+ },
]
}
]

Powered by Google App Engine
This is Rietveld 408576698