| 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="ChromiumTestShell" default="debug" basedir="."> | 7 <project name="ChromiumTestShell" default="debug" basedir="."> |
| 8 <description> | 8 <description> |
| 9 Building ChromiumTestShell.apk | 9 Building ChromiumTestShell.apk |
| 10 </description> | 10 </description> |
| 11 <import file="../../../../build/android/ant/common.xml"/> | 11 <import file="../../../../build/android/ant/common.xml"/> |
| 12 | 12 |
| 13 <property-value name="target.abi" value="${APP_ABI}"/> | 13 <property-value name="target.abi" value="${APP_ABI}"/> |
| 14 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" | 14 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" |
| 15 check-exists="false"/> | 15 check-exists="false"/> |
| 16 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> | 16 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> |
| 17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 18 | 18 |
| 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-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset
s/chrome"/> | 23 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset
s/chrome"/> |
| 24 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | 24 <!-- Set the output directory for the final apk to the ${apks.dir}. --> |
| 25 <property-location name="out.final.file" | 25 <property-location name="out.final.file" |
| 26 location="${apks.dir}/${ant.project.name}-debug.apk" | 26 location="${apks.dir}/${ant.project.name}-debug.apk" |
| 27 check-exists="false"/> | 27 check-exists="false"/> |
| 28 | 28 |
| 29 <path id="javac.srcdirs.additional"> |
| 30 <filelist files="${ADDITIONAL_SRC_DIRS}"/> |
| 31 <filelist files="${GENERATED_SRC_DIRS}"/> |
| 32 </path> |
| 33 |
| 29 <path id="out.dex.jar.input.ref"> | 34 <path id="out.dex.jar.input.ref"> |
| 30 <filelist files="${INPUT_JARS_PATHS}"/> | 35 <filelist files="${INPUT_JARS_PATHS}"/> |
| 31 </path> | 36 </path> |
| 32 | 37 |
| 33 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) -
-> | 38 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) -
-> |
| 34 <fail message="PRODUCT_DIR env var not set?"> | 39 <fail message="PRODUCT_DIR env var not set?"> |
| 35 <condition> | 40 <condition> |
| 36 <not> | 41 <not> |
| 37 <isset property="PRODUCT_DIR"/> | 42 <isset property="PRODUCT_DIR"/> |
| 38 </not> | 43 </not> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 68 | 73 |
| 69 <!-- Classpath for javac --> | 74 <!-- Classpath for javac --> |
| 70 <path id="javac.custom.classpath"> | 75 <path id="javac.custom.classpath"> |
| 71 <path refid="out.dex.jar.input.ref"/> | 76 <path refid="out.dex.jar.input.ref"/> |
| 72 </path> | 77 </path> |
| 73 | 78 |
| 74 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 79 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
| 75 <import file="${sdk.dir}/tools/ant/build.xml"/> | 80 <import file="${sdk.dir}/tools/ant/build.xml"/> |
| 76 </project> | 81 </project> |
| 77 | 82 |
| OLD | NEW |