Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: build/android/ant/chromium-apk.xml

Issue 10959034: Make apks build from a single ant .xml template (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/android/ant/common.xml » ('j') | build/android/ant/common.xml » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 1 <!--
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 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 3 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 4 found in the LICENSE file.
6 --> 5 -->
7 <project name="ContentShellTest" default="debug" basedir="."> 6 <project default="debug">
7 <property name="ant.project.name" value="${APK_NAME}"/>
8 8
9 <description> 9 <description>
10 Building ContentShellTest.apk 10 Building ${ant.project.name}.apk
11 </description> 11 </description>
12 <import file="common.xml"/>
12 13
13 <import file="../../../../build/android/ant/common.xml"/> 14 <property-location
15 name="out.dir"
Yaron 2012/09/21 01:57:01 I think hanging lines should be indented 4 (same b
cjhopman 2012/09/28 01:14:25 Done.
16 location="${PRODUCT_DIR}/${PACKAGE_NAME}"
17 check-exists="false"
18 />
14 19
15 <property-value name="target.abi" value="${APP_ABI}"/> 20 <property-value name="target.abi" value="${APP_ABI}"/>
16 <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell_test"
17 check-exists="false"/>
18 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> 21 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
19 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/> 22 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/>
20 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" 23 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs"
21 check-exists="false"/> 24 check-exists="false"/>
22 <property-location name="asset.absolute.dir" location="${out.dir}/assets" 25
23 check-exists="false"/> 26 <condition property="asset.absolute.dir"
27 value="${out.dir}/assets"
28 else="${ASSET_DIR}">
29 <equals arg1="${ASSET_DIR}" arg2=""/>
30 </condition>
31
24 <!-- Set the output directory for the final apk to the ${apks.dir}. --> 32 <!-- Set the output directory for the final apk to the ${apks.dir}. -->
25 <property-location name="out.final.file" 33 <property-location name="out.final.file"
26 location="${apks.dir}/${ant.project.name}-debug.apk" 34 location="${apks.dir}/${ant.project.name}-debug.apk"
27 check-exists="false"/> 35 check-exists="false"/>
28 <property name="generate.test.jar" value="true"/>
29
30 <property-location name="contentshell.classes.dir"
31 location="${PRODUCT_DIR}/content_shell/classes"/>
32 36
33 <path id="out.dex.jar.input.ref"> 37 <path id="out.dex.jar.input.ref">
34 <filelist files="${INPUT_JARS_PATHS}"/> 38 <filelist files="${INPUT_JARS_PATHS}"/>
35 <pathelement location="${contentshell.classes.dir}"/>
36 </path> 39 </path>
37 40
38 <!-- Classpath for javac --> 41 <!-- Classpath for javac -->
39 <path id="javac.custom.classpath"> 42 <path id="javac.custom.classpath">
40 <path refid="out.dex.jar.input.ref"/> 43 <path refid="out.dex.jar.input.ref"/>
41 </path> 44 </path>
42 45
43 <import file="../../../../build/android/ant/sdk-targets.xml"/> 46 <import file="sdk-targets.xml"/>
44 <import file="${sdk.dir}/tools/ant/build.xml"/> 47 <import file="${sdk.dir}/tools/ant/build.xml"/>
45 </project> 48 </project>
49
OLDNEW
« no previous file with comments | « no previous file | build/android/ant/common.xml » ('j') | build/android/ant/common.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698