| 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> |
| 11 Building native test runner ChromeNativeTests_replaceme.apk | 11 Building native test runner ChromeNativeTests_replaceme.apk |
| 12 </description> | 12 </description> |
| 13 | 13 |
| 14 <!-- | 14 <!-- |
| 15 TODO(beverloo): Remove this property when all gyp files (also those in | 15 TODO(beverloo): Remove this property when all gyp files (also those in |
| 16 WebKit) define the CHROMIUM_SRC property. This works because properties | 16 WebKit) define the CHROMIUM_SRC property. This works because properties |
| 17 in ant files are immutable. | 17 in ant files are immutable. |
| 18 --> | 18 --> |
| 19 <property name="CHROMIUM_SRC" value="${PRODUCT_DIR}/../.." /> | 19 <property name="CHROMIUM_SRC" value="${PRODUCT_DIR}/../.." /> |
| 20 | 20 |
| 21 <import file="${CHROMIUM_SRC}/build/android/ant/common.xml"/> | 21 <import file="${CHROMIUM_SRC}/build/android/ant/common.xml"/> |
| 22 <import file="${CHROMIUM_SRC}/build/android/ant/sdk-targets.xml"/> | |
| 23 | 22 |
| 24 <!-- | 23 <!-- |
| 25 TODO(yfriedman): Remove the need to specify this. We should generate the pac
kages in a way such | 24 TODO(yfriedman): Remove the need to specify this. We should generate the pac
kages in a way such |
| 26 that it's not required. | 25 that it's not required. |
| 27 --> | 26 --> |
| 28 <property name="source.absolute.dir" value="java/src"/> | 27 <property name="source.absolute.dir" value="java/src"/> |
| 29 <path id="javac.custom.classpath"> | 28 <path id="javac.custom.classpath"> |
| 30 <pathelement location="${ANDROID_SDK}/android.jar" /> | 29 <pathelement location="${ANDROID_SDK}/android.jar" /> |
| 31 </path> | 30 </path> |
| 32 <property name="target.abi" value="${APP_ABI}"/> | 31 <property name="target.abi" value="${APP_ABI}"/> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 </condition> | 80 </condition> |
| 82 <then> | 81 <then> |
| 83 <echo message="Copying gdbserver to the apk to enable native debugging"/
> | 82 <echo message="Copying gdbserver to the apk to enable native debugging"/
> |
| 84 <copy todir="${out.dir}/libs/${target.abi}"> | 83 <copy todir="${out.dir}/libs/${target.abi}"> |
| 85 <path refid="native.libs.gdbserver"/> | 84 <path refid="native.libs.gdbserver"/> |
| 86 </copy> | 85 </copy> |
| 87 </then> | 86 </then> |
| 88 </if> | 87 </if> |
| 89 </target> | 88 </target> |
| 90 | 89 |
| 90 <import file="${CHROMIUM_SRC}/build/android/ant/sdk-targets.xml"/> |
| 91 <import file="${sdk.dir}/tools/ant/build.xml" /> | 91 <import file="${sdk.dir}/tools/ant/build.xml" /> |
| 92 | 92 |
| 93 </project> | 93 </project> |
| OLD | NEW |