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 <project name="chrome_sdk_overrides" > | 7 <project name="chrome_sdk_overrides" > |
8 <!-- | 8 <!-- |
9 Redefinition of targets used by SDK tools. | 9 Redefinition of targets used by SDK tools. |
10 Supported version: SDK tools revision 20. | 10 Supported version: SDK tools revision 20. |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 </then> | 100 </then> |
101 </if> | 101 </if> |
102 <!-- | 102 <!-- |
103 If the project needs a test jar then generate a jar containing | 103 If the project needs a test jar then generate a jar containing |
104 all compiled classes and referenced jars. | 104 all compiled classes and referenced jars. |
105 project.is.testapp is set by Android's ant build system based on the | 105 project.is.testapp is set by Android's ant build system based on the |
106 target's manifest. It is true only for instrumentation apks. | 106 target's manifest. It is true only for instrumentation apks. |
107 --> | 107 --> |
108 <if condition="${project.is.testapp}"> | 108 <if condition="${project.is.testapp}"> |
109 <then> | 109 <then> |
110 <echo level="info">Creating test jar file: | |
111 ${ant.project.name}.jar</echo> | |
112 <property-location name="create.test.jar.file" | 110 <property-location name="create.test.jar.file" |
113 location="${CHROMIUM_SRC}/build/android/ant/create-test-jar.js"/> | 111 location="${CHROMIUM_SRC}/build/android/ant/create-test-jar.js"/> |
114 <script language="javascript" src="${create.test.jar.file}"/> | 112 <script language="javascript" src="${create.test.jar.file}"/> |
115 </then> | 113 </then> |
116 </if> | 114 </if> |
117 | 115 |
118 </do-only-if-manifest-hasCode> | 116 </do-only-if-manifest-hasCode> |
119 </target> | 117 </target> |
120 | 118 |
121 <!-- | 119 <!-- |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 Copy gdbserver to main libs directory if building a non-instrumentation de
bug apk. | 175 Copy gdbserver to main libs directory if building a non-instrumentation de
bug apk. |
178 --> | 176 --> |
179 <if> | 177 <if> |
180 <condition> | 178 <condition> |
181 <and> | 179 <and> |
182 <equals arg1="${build.target}" arg2="debug"/> | 180 <equals arg1="${build.target}" arg2="debug"/> |
183 <isfalse value="${project.is.testapp}"/> | 181 <isfalse value="${project.is.testapp}"/> |
184 </and> | 182 </and> |
185 </condition> | 183 </condition> |
186 <then> | 184 <then> |
187 <echo message="Copying gdbserver to the apk to enable native debugging"/
> | |
188 <copy todir="${out.dir}/libs/${target.abi}"> | 185 <copy todir="${out.dir}/libs/${target.abi}"> |
189 <path refid="native.libs.gdbserver"/> | 186 <path refid="native.libs.gdbserver"/> |
190 </copy> | 187 </copy> |
191 </then> | 188 </then> |
192 </if> | 189 </if> |
193 | 190 |
194 <!-- Package all the compiled .class files into a .jar. --> | 191 <!-- Package all the compiled .class files into a .jar. --> |
195 <jar | 192 <jar |
196 jarfile="${lib.java.dir}/${JAR_NAME}" | 193 jarfile="${lib.java.dir}/${JAR_NAME}" |
197 basedir="${out.classes.absolute.dir}" | 194 basedir="${out.classes.absolute.dir}" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 -libraryjars ${project.target.classpath.value} | 268 -libraryjars ${project.target.classpath.value} |
272 -dump "${obfuscate.absolute.dir}/dump.txt" | 269 -dump "${obfuscate.absolute.dir}/dump.txt" |
273 -printseeds "${obfuscate.absolute.dir}/seeds.txt" | 270 -printseeds "${obfuscate.absolute.dir}/seeds.txt" |
274 -printusage "${obfuscate.absolute.dir}/usage.txt" | 271 -printusage "${obfuscate.absolute.dir}/usage.txt" |
275 -printmapping "${obfuscate.absolute.dir}/mapping.txt" | 272 -printmapping "${obfuscate.absolute.dir}/mapping.txt" |
276 </proguard> | 273 </proguard> |
277 </then> | 274 </then> |
278 </if> | 275 </if> |
279 </target> | 276 </target> |
280 </project> | 277 </project> |
OLD | NEW |