OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', | 7 ['OS=="android"', |
8 { | 8 { |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'android_sample', | 11 'target_name': 'android_sample', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../android_embedder/android_embedder.gyp:android_embedder', | 14 '../../runtime/dart-runtime.gyp:android_embedder', |
15 ], | 15 ], |
16 'actions': [ | 16 'actions': [ |
17 # TODO(gram) - this should have a debug and release version. | 17 # TODO(gram) - this should have a debug and release version. |
18 { | 18 { |
19 'action_name': 'build_app', | 19 'action_name': 'build_app', |
20 'inputs': [ | 20 'inputs': [ |
21 'jni/*.cc', | 21 'jni/*.cc', |
22 'jni/*.h', | 22 'jni/*.h', |
23 'assets/dart/*.dart', | 23 'assets/dart/*.dart', |
24 ], | 24 ], |
25 'outputs': [ | 25 'outputs': [ |
26 'bin/NativeActivity-debug.apk', | 26 'bin/NativeActivity-debug.apk', |
27 ], | 27 ], |
28 'action': [ 'ant', 'debug' ] | 28 'action': [ 'ant', 'debug' ] |
29 } | 29 } |
30 ] | 30 ] |
31 } | 31 } |
32 ] | 32 ] |
33 } | 33 } |
34 ] | 34 ] |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 | 38 |
OLD | NEW |