Chromium Code Reviews| 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="ContentShellTest" default="debug" basedir="."> | 7 <project name="ContentShellTest" default="debug" basedir="."> |
| 8 | 8 |
| 9 <description> | 9 <description> |
| 10 Building ContentShellTest.apk | 10 Building ContentShellTest.apk |
| 11 </description> | 11 </description> |
| 12 | 12 |
| 13 <import file="../../../../build/android/ant/common.xml"/> | 13 <import file="../../../../build/android/ant/common.xml"/> |
| 14 | 14 |
| 15 <property name="target.abi" value="${APP_ABI}"/> | 15 <property name="target.abi" value="${APP_ABI}"/> |
| 16 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/> | 16 <property name="out.dir" location="${PRODUCT_DIR}/content_shell_test"/> |
| 17 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> | 17 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> |
| 18 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 18 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 19 <path id="native.libs.gdbserver"> | 19 <path id="native.libs.gdbserver"> |
| 20 <fileset file="${android.gdbserver}"/> | 20 <fileset file="${android.gdbserver}"/> |
| 21 </path> | 21 </path> |
| 22 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> | 22 <property name="native.libs.absolute.dir" location="${out.dir}/libs" /> |
| 23 <property name="asset.absolute.dir" location="${out.dir}/assets" /> | 23 <property name="asset.absolute.dir" location="${out.dir}/assets" /> |
| 24 | 24 |
| 25 <path id="out.dex.jar.input.ref"> | 25 <path id="out.dex.jar.input.ref"> |
| 26 <filelist files="${INPUT_JARS_PATHS}"/> | 26 <filelist files="${INPUT_JARS_PATHS}"/> |
| 27 <pathelement location="${PRODUCT_DIR}/content_shell/classes"/> | 27 <pathelement location="${PRODUCT_DIR}/content_shell/classes"/> |
| 28 </path> | 28 </path> |
| 29 | |
| 30 <path id="javac.custom.sourcepath"> | |
|
Yaron
2012/09/20 04:13:53
Nit: fix indentation
| |
| 31 <pathelement location="../../../android/javatests/src"/> | |
| 32 </path> | |
| 33 | |
| 29 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/> | 34 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in put.ref}"/> |
| 30 | 35 |
| 31 <!-- We expect PRODUCT_DIR to be set like the gyp var | 36 <!-- We expect PRODUCT_DIR to be set like the gyp var |
| 32 (e.g. $ROOT/out/Debug) --> | 37 (e.g. $ROOT/out/Debug) --> |
| 33 <fail message="PRODUCT_DIR env var not set?"> | 38 <fail message="PRODUCT_DIR env var not set?"> |
| 34 <condition> | 39 <condition> |
| 35 <not> | 40 <not> |
| 36 <isset property="PRODUCT_DIR"/> | 41 <isset property="PRODUCT_DIR"/> |
| 37 </not> | 42 </not> |
| 38 </condition> | 43 </condition> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 </target> | 76 </target> |
| 72 | 77 |
| 73 <!-- Classpath for javac --> | 78 <!-- Classpath for javac --> |
| 74 <path id="javac.custom.classpath"> | 79 <path id="javac.custom.classpath"> |
| 75 <path refid="out.dex.jar.input.ref"/> | 80 <path refid="out.dex.jar.input.ref"/> |
| 76 </path> | 81 </path> |
| 77 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 82 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
| 78 <import file="${sdk.dir}/tools/ant/build.xml" /> | 83 <import file="${sdk.dir}/tools/ant/build.xml" /> |
| 79 | 84 |
| 80 </project> | 85 </project> |
| OLD | NEW |