| 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}"/> |
| 11 <property name="src" location="."/> | 11 <property name="src" location="."/> |
| 12 <property name="dist" location="dist"/> | 12 <property name="dist" location="dist"/> |
| 13 <property name="out.dir" location="${PRODUCT_DIR}"/> | 13 <property name="out.dir" location="${PRODUCT_DIR}/lib.java"/> |
| 14 <!-- TODO(jrg): establish a standard for the intermediate java | 14 <!-- TODO(jrg): establish a standard for the intermediate java |
| 15 directories. Settle on a standard once ant/jar build files | 15 directories. Settle on a standard once ant/jar build files |
| 16 like this are androidified --> | 16 like this are androidified --> |
| 17 <property name="dest.dir" location="${PRODUCT_DIR}/java/base"/> | 17 <property name="dest.dir" location="${PRODUCT_DIR}/java/base"/> |
| 18 | 18 |
| 19 <!-- Set path depending on the type of repository. If ANDROID_BUILD_TOP is | 19 <!-- Set path depending on the type of repository. If ANDROID_BUILD_TOP is |
| 20 set then build using the provided location. Otherwise, assume the build | 20 set then build using the provided location. Otherwise, assume the build |
| 21 is using the released SDK and set the path accordingly. --> | 21 is using the released SDK and set the path accordingly. --> |
| 22 <condition property="location.base" | 22 <condition property="location.base" |
| 23 value="${sdk.dir}" | 23 value="${sdk.dir}" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |