OLD | NEW |
1 <project name="Base" default="dist" basedir="."> | 1 <project name="Base" default="dist" basedir="."> |
2 <description> | 2 <description> |
3 building base java source code with ant | 3 building base java source code with ant |
4 </description> | 4 </description> |
5 <!-- Set global properties for this build --> | 5 <!-- Set global properties for this build --> |
6 <property environment="env"/> | 6 <property environment="env"/> |
7 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> | 7 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> |
8 <!-- TODO(jrg): The apk-runner's version is hardcoded to SDK version 14. These | 8 <!-- TODO(jrg): The apk-runner's version is hardcoded to SDK version 14. These |
9 two should be unified. --> | 9 two should be unified. --> |
10 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/> | 10 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 <javac srcdir="${src}" destdir="${dest.dir}"> | 45 <javac srcdir="${src}" destdir="${dest.dir}"> |
46 <classpath> | 46 <classpath> |
47 <path location="${location.base}/android.jar"/> | 47 <path location="${location.base}/android.jar"/> |
48 </classpath> | 48 </classpath> |
49 </javac> | 49 </javac> |
50 </target> | 50 </target> |
51 | 51 |
52 <target name="dist" depends="compile" | 52 <target name="dist" depends="compile" |
53 description="generate the distribution" > | 53 description="generate the distribution" > |
54 <!-- Create the distribution directory --> | 54 <!-- Create the distribution directory --> |
55 <mkdir dir="${dist}/lib"/> | 55 <mkdir dir="${out.dir}"/> |
56 | 56 |
57 <jar jarfile="${out.dir}/chromium_base.jar" basedir="${dest.dir}"/> | 57 <jar jarfile="${out.dir}/chromium_base.jar" basedir="${dest.dir}"/> |
58 </target> | 58 </target> |
59 | 59 |
60 <target name="clean" | 60 <target name="clean" |
61 description="clean up" > | 61 description="clean up" > |
62 <!-- Delete the appropriate directory trees --> | 62 <!-- Delete the appropriate directory trees --> |
63 <delete dir="${dest.dir}"/> | 63 <delete dir="${dest.dir}"/> |
64 <delete dir="${dist}"/> | 64 <delete dir="${dist}"/> |
65 </target> | 65 </target> |
66 </project> | 66 </project> |
OLD | NEW |