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

Side by Side Diff: samples/openglui/android-blasteroids/android.gyp

Issue 24698003: Removed the openglui sample app. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # BSD-style license that can be found in the LICENSE file.
4
5 # Note: to use this you need SoX with mp3 support installed:
6 #
7 # sudo apt-get install sox
8 # sudo apt-get install libsox-fmt-mp3
9 #
10 # Alternatively, manually use Audacity to export the ../web/*.mp3 files to raw
11 # PCM files with a .raw file extension and copy these to the assets
12 # directory.
13
14 {
15 'conditions': [
16 ['OS=="android"',
17 {
18 'targets': [
19 {
20 'target_name': 'android_app',
21 'type': 'none',
22 'dependencies': [
23 'copy_extension',
24 'copy_main',
25 '../../../runtime/dart-runtime.gyp:android_embedder',
26 'copy_embedder',
27 '../web/web.gyp:assets',
28 'copy_images',
29 'convert_sounds',
30 ],
31 'actions': [
32 # TODO(gram) - this should have a debug and release version.
33 {
34 'action_name': 'build_app',
35 'inputs': [
36 '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so',
37 '../../../runtime/embedders/openglui/common/gl.dart',
38 '../src/blasteroids.dart',
39 ],
40 'outputs': [
41 'bin/NativeActivity-debug.apk',
42 ],
43 'action': [ 'ant', 'debug' ]
44 }
45 ]
46 },
47 {
48 'target_name': 'copy_embedder',
49 'type': 'none',
50 'copies': [ {
51 # TODO(gram) - this should vary based on architecture.
52 'destination': 'libs/x86',
53 'files': [
54 '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so'
55 ],
56 }],
57 },
58 {
59 'target_name': 'copy_extension',
60 'type': 'none',
61 'copies': [ {
62 'destination': 'assets/dart',
63 'files': [
64 '../../../runtime/embedders/openglui/common/gl.dart'
65 ],
66 }],
67 },
68 {
69 'target_name': 'copy_main',
70 'type': 'none',
71 'copies': [ {
72 'destination': 'assets/dart',
73 'files': [
74 '../src/blasteroids.dart',
75 ],
76 }],
77 },
78 {
79 'target_name': 'copy_images',
80 'type': 'none',
81 'copies': [ {
82 'destination': 'assets',
83 'files': [
84 '../web/asteroid1.png',
85 '../web/asteroid2.png',
86 '../web/asteroid3.png',
87 '../web/asteroid4.png',
88 '../web/bg3_1.png',
89 '../web/enemyship1.png',
90 '../web/player.png',
91 '../web/shield.png',
92 ],
93 }],
94 },
95 {
96 'target_name': 'convert_sounds',
97 'type': 'none',
98 'actions': [
99 {
100 'action_name': 'convert_bigboom',
101 'inputs': [ '../web/bigboom.mp3' ],
102 'outputs': [ 'assets/bigboom.raw' ],
103 'action': [ 'sox', '../web/bigboom.mp3', 'assets/bigboom.raw' ]
104 },
105 {
106 'action_name': 'convert_boom',
107 'inputs': [ '../web/boom.mp3' ],
108 'outputs': [ 'assets/boom.raw' ],
109 'action': [ 'sox', '../web/boom.mp3', 'assets/boom.raw' ]
110 },
111 {
112 'action_name': 'convert_enemybomb',
113 'inputs': [ '../web/enemybomb.mp3' ],
114 'outputs': [ 'assets/enemybomb.raw' ],
115 'action': [ 'sox', '../web/enemybomb.mp3',
116 'assets/enemybomb.raw' ]
117 },
118 {
119 'action_name': 'convert_explosion1',
120 'inputs': [ '../web/explosion1.mp3' ],
121 'outputs': [ 'assets/explosion1.raw' ],
122 'action': [ 'sox', '../web/explosion1.mp3',
123 'assets/explosion1.raw' ]
124 },
125 {
126 'action_name': 'convert_explosion2',
127 'inputs': [ '../web/explosion2.mp3' ],
128 'outputs': [ 'assets/explosion2.raw' ],
129 'action': [ 'sox', '../web/explosion2.mp3',
130 'assets/explosion2.raw' ]
131 },
132 {
133 'action_name': 'convert_explosion3',
134 'inputs': [ '../web/explosion3.mp3' ],
135 'outputs': [ 'assets/explosion3.raw' ],
136 'action': [ 'sox', '../web/explosion3.mp3',
137 'assets/explosion3.raw' ]
138 },
139 {
140 'action_name': 'convert_explosion4',
141 'inputs': [ '../web/explosion4.mp3' ],
142 'outputs': [ 'assets/explosion4.raw' ],
143 'action': [ 'sox', '../web/explosion4.mp3',
144 'assets/explosion4.raw' ]
145 },
146 {
147 'action_name': 'convert_laser',
148 'inputs': [ '../web/laser.mp3' ],
149 'outputs': [ 'assets/laser.raw' ],
150 'action': [ 'sox', '../web/laser.mp3', 'assets/laser.raw' ]
151 },
152 {
153 'action_name': 'convert_powerup',
154 'inputs': [ '../web/powerup.mp3' ],
155 'outputs': [ 'assets/powerup.raw' ],
156 'action': [ 'sox', '../web/powerup.mp3', 'assets/powerup.raw' ]
157 },
158 ],
159 }
160 ]
161 }
162 ]
163 ]
164 }
165
166
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698