OLD | NEW |
1 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 | 2 |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 <project name="Media" default="dist" basedir="."> | 6 <project name="Media" default="dist" basedir="."> |
7 <description> | 7 <description> |
8 building media java source code with ant | 8 building media java source code with ant |
9 </description> | 9 </description> |
10 <!-- set global properties for this build --> | 10 <!-- set global properties for this build --> |
(...skipping 27 matching lines...) Expand all Loading... |
38 <classpath> | 38 <classpath> |
39 <pathelement path="${location.base}/android.jar" /> | 39 <pathelement path="${location.base}/android.jar" /> |
40 <pathelement path="${out.dir}/chromium_base.jar" /> | 40 <pathelement path="${out.dir}/chromium_base.jar" /> |
41 </classpath> | 41 </classpath> |
42 </javac> | 42 </javac> |
43 </target> | 43 </target> |
44 | 44 |
45 <target name="dist" depends="compile" | 45 <target name="dist" depends="compile" |
46 description="generate the distribution" > | 46 description="generate the distribution" > |
47 <!-- Create the distribution directory --> | 47 <!-- Create the distribution directory --> |
48 <mkdir dir="${dist}/lib"/> | 48 <mkdir dir="${out.dir}"/> |
49 | 49 |
50 <!-- Put everything in ${build} into the chromium_media.jar file --> | 50 <!-- Put everything in ${build} into the chromium_media.jar file --> |
51 <jar jarfile="${out.dir}/chromium_media.jar" basedir="${dest.dir}"/> | 51 <jar jarfile="${out.dir}/chromium_media.jar" basedir="${dest.dir}"/> |
52 </target> | 52 </target> |
53 | 53 |
54 <target name="clean" | 54 <target name="clean" |
55 description="clean up" > | 55 description="clean up" > |
56 <!-- Delete the appropriate directory trees --> | 56 <!-- Delete the appropriate directory trees --> |
57 <delete dir="${dest.dir}"/> | 57 <delete dir="${dest.dir}"/> |
58 <delete dir="${dist}"/> | 58 <delete dir="${dist}"/> |
59 </target> | 59 </target> |
60 </project> | 60 </project> |
OLD | NEW |