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="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 | 14 |
| 15 <!-- Root directory for output --> | 15 <!-- Root directory for output --> |
| 16 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" | 16 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" |
| 17 check-exists="false"/> | 17 check-exists="false"/> |
| 18 <property name="resource.absolute.dir" value="res"/> | 18 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> |
| 19 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 19 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 20 | 20 |
| 21 <!-- Standard directory for chromium_*.jars --> | 21 <!-- Standard directory for chromium_*.jars --> |
| 22 <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/> | 22 <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/> |
| 23 <path id="native.libs.gdbserver"> | 23 <path id="native.libs.gdbserver"> |
| 24 <fileset file="${android.gdbserver}"/> | 24 <fileset file="${android.gdbserver}"/> |
| 25 </path> | 25 </path> |
| 26 <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt --> | 26 <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt --> |
| 27 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | 27 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
| 28 <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak f iles. --> | 28 <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak f iles. --> |
| 29 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset s/chrome"/> | 29 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset s/chrome"/> |
| 30 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | |
|
Yaron
2012/09/20 03:05:17
nit: indentaiton
David Trainor- moved to gerrit
2012/09/20 21:49:50
Done.
| |
| 31 <property-location name="out.final.file" | |
| 32 location="${apks.dir}/${ant.project.name}-debug.apk" | |
| 33 check-exists="false"/> | |
| 30 | 34 |
| 31 <property name="version.code" value="16"/> | 35 <property name="version.code" value="16"/> |
| 32 <property name="version.name" value="0.1 Developer Build"/> | 36 <property name="version.name" value="0.1 Developer Build"/> |
| 33 | 37 |
| 34 <path id="out.dex.jar.input.ref"> | 38 <path id="out.dex.jar.input.ref"> |
| 35 <pathelement location="${lib.java.dir}/chromium_base.jar"/> | 39 <filelist files="${INPUT_JARS_PATHS}"/> |
| 36 <pathelement location="${lib.java.dir}/chromium_content.jar"/> | |
| 37 <pathelement location="${lib.java.dir}/chromium_media.jar"/> | |
| 38 <pathelement location="${lib.java.dir}/chromium_net.jar"/> | |
| 39 <pathelement location="${lib.java.dir}/chromium_chrome.jar"/> | |
| 40 <pathelement location="${lib.java.dir}/chromium_web_contents_delegate_androi d.jar"/> | |
| 41 </path> | 40 </path> |
| 42 | 41 |
| 43 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) - -> | 42 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) - -> |
| 44 <fail message="PRODUCT_DIR env var not set?"> | 43 <fail message="PRODUCT_DIR env var not set?"> |
| 45 <condition> | 44 <condition> |
| 46 <not> | 45 <not> |
| 47 <isset property="PRODUCT_DIR"/> | 46 <isset property="PRODUCT_DIR"/> |
| 48 </not> | 47 </not> |
| 49 </condition> | 48 </condition> |
| 50 </fail> | 49 </fail> |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 72 | 71 |
| 73 <!-- Classpath for javac --> | 72 <!-- Classpath for javac --> |
| 74 <path id="javac.custom.classpath"> | 73 <path id="javac.custom.classpath"> |
| 75 <path refid="out.dex.jar.input.ref"/> | 74 <path refid="out.dex.jar.input.ref"/> |
| 76 </path> | 75 </path> |
| 77 | 76 |
| 78 <import file="../../../../build/android/ant/sdk-targets.xml"/> | 77 <import file="../../../../build/android/ant/sdk-targets.xml"/> |
| 79 <import file="${sdk.dir}/tools/ant/build.xml"/> | 78 <import file="${sdk.dir}/tools/ant/build.xml"/> |
| 80 </project> | 79 </project> |
| 81 | 80 |
| OLD | NEW |