| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <project name="replaceme" default="debug" basedir="."> | 8 <project name="replaceme" default="debug" basedir="."> |
| 9 | 9 |
| 10 <description> | 10 <description> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 <isset property="PRODUCT_DIR"/> | 42 <isset property="PRODUCT_DIR"/> |
| 43 </not> | 43 </not> |
| 44 </condition> | 44 </condition> |
| 45 </fail> | 45 </fail> |
| 46 | 46 |
| 47 <property name="out.dir" location="${PRODUCT_DIR}/replaceme_apk"/> | 47 <property name="out.dir" location="${PRODUCT_DIR}/replaceme_apk"/> |
| 48 | 48 |
| 49 <property name="resource.absolute.dir" value="res"/> | 49 <property name="resource.absolute.dir" value="res"/> |
| 50 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 50 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 51 | 51 |
| 52 <condition property="external.jars.dir" | |
| 53 value="${out.dir}/java/libs" | |
| 54 else=""> | |
| 55 <available file="${out.dir}/java/libs" type="dir"/> | |
| 56 </condition> | |
| 57 <path id="out.dex.jar.input.ref"> | 52 <path id="out.dex.jar.input.ref"> |
| 58 <fileset dir="${external.jars.dir}" includes="*.jar"/> | 53 <filelist files="${INPUT_JARS_PATHS}"/> |
| 59 </path> | 54 </path> |
| 60 <condition property="java.compilerargs" | 55 <condition property="java.compilerargs" |
| 61 value="-classpath ${toString:out.dex.jar.input.ref}"> | 56 value="-classpath ${toString:out.dex.jar.input.ref}"> |
| 62 <not> | 57 <not> |
| 63 <equals arg1="${external.jars.dir}" arg2=""/> | 58 <equals arg1="${toString:out.dex.jar.input.ref}" arg2=""/> |
| 64 </not> | 59 </not> |
| 65 </condition> | 60 </condition> |
| 66 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> | 61 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> |
| 67 | 62 |
| 68 <!-- Copy the below manifest file to a new directory because the project | 63 <!-- Copy the below manifest file to a new directory because the project |
| 69 base directory and output directory are the same and manifest merge | 64 base directory and output directory are the same and manifest merge |
| 70 task takes the same file as source and target when doing copying. | 65 task takes the same file as source and target when doing copying. |
| 71 Otherwise it'll generate an empty manifest file. --> | 66 Otherwise it'll generate an empty manifest file. --> |
| 72 <copy file="AndroidManifest.xml" todir="${out.dir}/manifest"/> | 67 <copy file="AndroidManifest.xml" todir="${out.dir}/manifest"/> |
| 73 <property name="manifest.abs.file" location="${out.dir}/manifest/AndroidManife
st.xml"/> | 68 <property name="manifest.abs.file" location="${out.dir}/manifest/AndroidManife
st.xml"/> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 84 <path refid="native.libs.gdbserver"/> | 79 <path refid="native.libs.gdbserver"/> |
| 85 </copy> | 80 </copy> |
| 86 </then> | 81 </then> |
| 87 </if> | 82 </if> |
| 88 </target> | 83 </target> |
| 89 | 84 |
| 90 <import file="${CHROMIUM_SRC}/build/android/ant/sdk-targets.xml"/> | 85 <import file="${CHROMIUM_SRC}/build/android/ant/sdk-targets.xml"/> |
| 91 <import file="${sdk.dir}/tools/ant/build.xml" /> | 86 <import file="${sdk.dir}/tools/ant/build.xml" /> |
| 92 | 87 |
| 93 </project> | 88 </project> |
| OLD | NEW |