Index: build/android/ant/sdk-targets.xml |
diff --git a/build/android/ant/sdk-targets.xml b/build/android/ant/sdk-targets.xml |
index 8f980b418d43b9f540a2772c18cd244618b4f380..700e7d33b27f6b9383b26a6bcbd7781cdf7adf0b 100644 |
--- a/build/android/ant/sdk-targets.xml |
+++ b/build/android/ant/sdk-targets.xml |
@@ -13,7 +13,6 @@ |
for aidl and javac. This file defines targets which can be used to |
override targets used by tools. |
--> |
- |
<!-- |
Override the -compile target. |
This target requires 'javac.custom.classpath' to be set to reference |
@@ -92,6 +91,18 @@ |
</emma> |
</then> |
</if> |
+ <!-- if the project needs a test jar then generate a jar containing |
Yaron
2012/09/07 19:19:31
Nit: Start comment on next line and capitalize.
|
+ all compiled classes and referenced jars. |
+ --> |
+ <if condition="${generate.test.jar}"> |
+ <then> |
+ <echo level="info">Creating test jar file...</echo> |
Yaron
2012/09/07 19:19:31
Include the property in the description so we can
|
+ <property-location name="create.test.jar.file" |
+ location="${CHROMIUM_SRC}/build/android/ant/create-test-jar.js" /> |
Yaron
2012/09/07 19:19:31
indent 4. Please also remove trailing spaces befor
|
+ <script language="javascript" src="${create.test.jar.file}" /> |
+ </then> |
+ </if> |
+ |
</do-only-if-manifest-hasCode> |
</target> |
</project> |