OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the LICENSE file. --> |
| 5 |
2 <project> | 6 <project> |
3 <target name="-pre-build"> | 7 <target name="-pre-build"> |
4 <mkdir dir="res/drawable-hdpi"/> | 8 <mkdir dir="res/drawable-hdpi"/> |
5 <mkdir dir="res/drawable-ldpi"/> | 9 <mkdir dir="res/drawable-ldpi"/> |
6 <mkdir dir="res/drawable-mdpi"/> | 10 <mkdir dir="res/drawable-mdpi"/> |
7 <mkdir dir="res/drawable-xhdpi"/> | 11 <mkdir dir="res/drawable-xhdpi"/> |
8 <mkdir dir="assets/music"/> | 12 <mkdir dir="assets/music"/> |
9 <exec executable="xxd"> | 13 <exec executable="xxd"> |
10 <arg value="-r"/> | 14 <arg value="-r"/> |
11 <arg value="ic_launcher.png-hdpi.hex"/> | 15 <arg value="ic_launcher.png-hdpi.hex"/> |
(...skipping 19 matching lines...) Expand all Loading... |
31 <arg value="la_ere_gymnopedie.mp3.hex"/> | 35 <arg value="la_ere_gymnopedie.mp3.hex"/> |
32 <arg value="assets/music/la_ere_gymnopedie.mp3"/> | 36 <arg value="assets/music/la_ere_gymnopedie.mp3"/> |
33 </exec> | 37 </exec> |
34 </target> | 38 </target> |
35 <target name="-pre-compile"> | 39 <target name="-pre-compile"> |
36 <exec executable="ndk-build" dir="jni"> | 40 <exec executable="ndk-build" dir="jni"> |
37 <arg line="V=1" /> | 41 <arg line="V=1" /> |
38 </exec> | 42 </exec> |
39 </target> | 43 </target> |
40 <target name="-post-compile"> | 44 <target name="-post-compile"> |
41 <copy file="obj/local/x86/libandroid_extension.so" | |
42 tofile="assets/dart/libandroid_extension.so"/> | |
43 </target> | 45 </target> |
44 </project> | 46 </project> |
OLD | NEW |