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

Unified Diff: samples/android_sample/android_sample.gyp

Issue 11434046: Android rayshader sample. (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
Index: samples/android_sample/android_sample.gyp
===================================================================
--- samples/android_sample/android_sample.gyp (revision 0)
+++ samples/android_sample/android_sample.gyp (revision 0)
@@ -0,0 +1,37 @@
+# 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.
+
+{
+ 'conditions': [
+ ['OS=="android"',
+ {
+ 'targets': [
+ {
+ 'target_name': 'android_sample',
+ 'type': 'none',
+ 'dependencies': [
+ '../android_embedder/android_embedder.gyp:android_embedder',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'build_app',
+ 'inputs': [
+ 'jni/*.cc',
+ 'jni/*.h',
+ 'assets/dart/*.dart',
+ ],
+ 'outputs': [
vsm 2012/11/30 17:00:30 We should make this conditional on Debug vs Releas
gram 2012/11/30 18:01:31 I tried to do this initially and I had some issues
+ 'bin/NativeActivity-debug.apk',
+ ],
+ 'action': [ 'ant', 'debug' ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ ]
+}
+
+

Powered by Google App Engine
This is Rietveld 408576698