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_app', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 'copy_extension', | 14 'copy_extension', |
15 'copy_main', | 15 'copy_main', |
16 '../../../runtime/dart-runtime.gyp:android_embedder', | 16 '../../../runtime/dart-runtime.gyp:android_embedder', |
17 'copy_embedder', | 17 'copy_embedder', |
18 ], | 18 ], |
19 'actions': [ | 19 'actions': [ |
20 # TODO(gram) - this should have a debug and release version. | 20 # TODO(gram) - this should have a debug and release version. |
21 { | 21 { |
22 'action_name': 'build_app', | 22 'action_name': 'build_app', |
23 'inputs': [ | 23 'inputs': [ |
24 '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so', | 24 '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so', |
25 '../../../runtime/embedders/openglui/common/gl.dart', | 25 '../../../runtime/embedders/openglui/common/gl.dart', |
26 '../src/openglui_raytrace.dart', | |
27 '../src/openglui_canvas_tests.dart' | 26 '../src/openglui_canvas_tests.dart' |
28 ], | 27 ], |
29 'outputs': [ | 28 'outputs': [ |
30 'bin/NativeActivity-debug.apk', | 29 'bin/NativeActivity-debug.apk', |
31 ], | 30 ], |
32 'action': [ 'ant', 'debug' ] | 31 'action': [ 'ant', 'debug' ] |
33 } | 32 } |
34 ] | 33 ] |
35 }, | 34 }, |
36 { | 35 { |
(...skipping 16 matching lines...) Expand all Loading... |
53 '../../../runtime/embedders/openglui/common/gl.dart' | 52 '../../../runtime/embedders/openglui/common/gl.dart' |
54 ], | 53 ], |
55 }], | 54 }], |
56 }, | 55 }, |
57 { | 56 { |
58 'target_name': 'copy_main', | 57 'target_name': 'copy_main', |
59 'type': 'none', | 58 'type': 'none', |
60 'copies': [ { | 59 'copies': [ { |
61 'destination': 'assets/dart', | 60 'destination': 'assets/dart', |
62 'files': [ | 61 'files': [ |
63 '../src/openglui_raytrace.dart', | |
64 '../src/openglui_canvas_tests.dart' | 62 '../src/openglui_canvas_tests.dart' |
65 ], | 63 ], |
66 }], | 64 }], |
67 }, | 65 }, |
68 ] | 66 ] |
69 } | 67 } |
70 ] | 68 ] |
71 ] | 69 ] |
72 } | 70 } |
73 | 71 |
74 | 72 |
OLD | NEW |