Chromium Code Reviews| 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' ] |
| + } |
| + ] |
| + } |
| + ] |
| + } |
| + ] |
| + ] |
| +} |
| + |
| + |