OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <!-- | |
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 | |
5 found in the LICENSE file. | |
6 --> | |
7 <project name="ChromiumTestShell" default="debug" basedir="."> | |
8 <description> | |
9 Building ChromiumTestShell.apk | |
10 </description> | |
11 <import file="../../../../build/android/ant/common.xml"/> | |
12 <import file="../../../../build/android/ant/sdk-targets.xml"/> | |
13 | |
14 <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> releas e. --> | |
15 <script language="javascript"> | |
shashi
2012/09/10 18:37:29
configuration.name, is this needed?
David Trainor- moved to gerrit
2012/09/10 21:26:16
Done.
| |
16 project.setProperty("configuration.name", | |
17 project.getProperty("CONFIGURATION_NAME").toLowerCase()) | |
18 </script> | |
19 | |
20 <property-value name="target.abi" value="${APP_ABI}"/> | |
21 | |
22 <!-- Root directory for output --> | |
23 <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell" | |
24 check-exists="false"/> | |
25 <property name="resource.absolute.dir" value="res"/> | |
26 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | |
27 | |
28 <!-- Standard directory for chromium_*.jars --> | |
29 <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/> | |
30 <path id="native.libs.gdbserver"> | |
shashi
2012/09/10 18:37:29
Nit: Not needed, it is not used anywhere.
David Trainor- moved to gerrit
2012/09/10 21:26:16
Ah I forgot to add the component that actually add
| |
31 <fileset file="${android.gdbserver}"/> | |
32 </path> | |
33 <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt --> | |
34 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | |
35 <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak f iles. --> | |
36 <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../asset s/chrome"/> | |
37 | |
38 <property name="version.code" value="16"/> | |
39 <property name="version.name" value="0.1 Developer Build"/> | |
40 | |
41 <path id="out.dex.jar.input.ref"> | |
42 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_base.jar"/> | |
43 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_content.jar"/> | |
44 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_media.jar"/> | |
45 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_net.jar"/> | |
46 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_chrome.jar"/> | |
47 <pathelement location="${PRODUCT_DIR}/lib.java/chromium_web_contents_delegat e_android.jar"/> | |
48 </path> | |
49 | |
50 <!-- Classpath for javac --> | |
51 <path id="javac.custom.classpath"> | |
52 <path refid="out.dex.jar.input.ref"/> | |
53 </path> | |
54 | |
55 <import file="${sdk.dir}/tools/ant/build.xml"/> | |
56 </project> | |
OLD | NEW |