| 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="ContentShell" default="debug" basedir="."> | 7 <project name="ContentShell" default="debug" basedir="."> |
| 8 <description> | 8 <description> |
| 9 Building ContentShell.apk | 9 Building ContentShell.apk |
| 10 </description> | 10 </description> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 <condition> | 49 <condition> |
| 50 <equals arg1="${build.target}" arg2="debug"/> | 50 <equals arg1="${build.target}" arg2="debug"/> |
| 51 </condition> | 51 </condition> |
| 52 <then> | 52 <then> |
| 53 <echo message="Copying gdbserver to the apk to enable native debugging"/
> | 53 <echo message="Copying gdbserver to the apk to enable native debugging"/
> |
| 54 <copy todir="${out.dir}/libs/${target.abi}"> | 54 <copy todir="${out.dir}/libs/${target.abi}"> |
| 55 <path refid="native.libs.gdbserver"/> | 55 <path refid="native.libs.gdbserver"/> |
| 56 </copy> | 56 </copy> |
| 57 </then> | 57 </then> |
| 58 </if> | 58 </if> |
| 59 |
| 60 <!-- Package all the compiled .class files into a .jar. --> |
| 61 <jar |
| 62 jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar" |
| 63 basedir="${out.classes.absolute.dir}" |
| 64 /> |
| 59 </target> | 65 </target> |
| 60 | 66 |
| 61 <!-- Classpath for javac --> | 67 <!-- Classpath for javac --> |
| 62 <path id="javac.custom.classpath"> | 68 <path id="javac.custom.classpath"> |
| 63 <path refid="out.dex.jar.input.ref"/> | 69 <path refid="out.dex.jar.input.ref"/> |
| 64 </path> | 70 </path> |
| 65 | 71 |
| 66 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 72 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
| 67 <import file="${sdk.dir}/tools/ant/build.xml"/> | 73 <import file="${sdk.dir}/tools/ant/build.xml"/> |
| 68 </project> | 74 </project> |
| OLD | NEW |