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="chrome_sdk_overrides" > | 7 <project name="chrome_sdk_overrides" > |
8 <!-- | 8 <!-- |
9 Redefinition of targets used by SDK tools. | 9 Redefinition of targets used by SDK tools. |
10 Supported version: SDK tools revision 20. | 10 Supported version: SDK tools revision 20. |
11 | 11 |
12 SDK tools do not allow easy way of extending classpaths | 12 SDK tools do not allow easy way of extending classpaths |
13 for aidl and javac. This file defines targets which can be used to | 13 for aidl and javac. This file defines targets which can be used to |
14 override targets used by tools. | 14 override targets used by tools. |
15 --> | 15 --> |
16 | |
17 <!-- | 16 <!-- |
18 Override the -compile target. | 17 Override the -compile target. |
19 This target requires 'javac.custom.classpath' to be set to reference | 18 This target requires 'javac.custom.classpath' to be set to reference |
20 of classpath to be used for javac. Also accepts custom path for | 19 of classpath to be used for javac. Also accepts custom path for |
21 sources: 'javac.custom.sourcepath'. | 20 sources: 'javac.custom.sourcepath'. |
22 --> | 21 --> |
23 <target | 22 <target |
24 name="-compile" | 23 name="-compile" |
25 depends="-build-setup, -pre-build, -code-gen, -pre-compile"> | 24 depends="-build-setup, -pre-build, -code-gen, -pre-compile"> |
26 <do-only-if-manifest-hasCode elseText="hasCode = false. Skipping..." > | 25 <do-only-if-manifest-hasCode elseText="hasCode = false. Skipping..." > |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 metadatafile="${emma.coverage.absolute.file}" | 84 metadatafile="${emma.coverage.absolute.file}" |
86 mode="overwrite" | 85 mode="overwrite" |
87 outdir="${out.absolute.dir}/classes" | 86 outdir="${out.absolute.dir}/classes" |
88 verbosity="${verbosity}"> | 87 verbosity="${verbosity}"> |
89 <filter excludes="${emma.default.filter}"/> | 88 <filter excludes="${emma.default.filter}"/> |
90 <filter value="${emma.filter}"/> | 89 <filter value="${emma.filter}"/> |
91 </instr> | 90 </instr> |
92 </emma> | 91 </emma> |
93 </then> | 92 </then> |
94 </if> | 93 </if> |
94 <!-- if the project needs a test jar then generate a jar containing | |
95 all compiled classes and referenced jars. | |
96 --> | |
97 <if condition="${generate.test.jar}"> | |
98 <then> | |
cjhopman
2012/09/06 22:33:41
Nit: then block is indented too far.
shashi
2012/09/07 00:41:33
Done.
| |
99 <echo level="info">Creating test jar file...</echo> | |
100 <script language="javascript" | |
101 src="${PRODUCT_DIR}/../../build/android/ant/create-test-jar.js" /> | |
cjhopman
2012/09/06 22:33:41
This should not be referred to relative to PRODUCT
shashi
2012/09/07 00:41:33
Done.
| |
102 </then> | |
103 </if> | |
104 | |
95 </do-only-if-manifest-hasCode> | 105 </do-only-if-manifest-hasCode> |
96 </target> | 106 </target> |
97 </project> | 107 </project> |
OLD | NEW |