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' |
+ ], |
+ }], |
+ }, |
] |
} |
] |