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

Unified Diff: content/shell/android/java/content_shell_apk.xml

Issue 10905138: Add test jar generation logic for ant builds. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/android/java/content_shell_apk.xml
diff --git a/content/shell/android/java/content_shell_apk.xml b/content/shell/android/java/content_shell_apk.xml
index bc2434e86953a75a88e7e0efec26bf6aa1f1539a..de01a3cbafe7bf1f64caffb429501ba29cbabdfe 100644
--- a/content/shell/android/java/content_shell_apk.xml
+++ b/content/shell/android/java/content_shell_apk.xml
@@ -21,32 +21,22 @@
check-exists="false"/>
<property name="resource.absolute.dir" value="../res"/>
<property name="gen.absolute.dir" value="${out.dir}/gen"/>
- <property name="jar.libs.dir" value="${out.dir}/java/libs"/>
<path id="native.libs.gdbserver">
<fileset file="${android.gdbserver}"/>
</path>
<property name="native.libs.absolute.dir" location="${out.dir}/libs"/>
<property name="asset.absolute.dir" location="${out.dir}/assets"/>
+ <!-- Set the output directory for the final apk to the ${apks.dir}. -->
+ <property-location name="out.final.file" location="${apks.dir}/${ant.project.name}-debug.apk"
+ check-exists="false" />
+ <property name="generate.test.jar" value="true" />
<path id="out.dex.jar.input.ref">
- <pathelement location="${PRODUCT_DIR}/lib.java/chromium_base.jar"/>
- <pathelement location="${PRODUCT_DIR}/lib.java/chromium_content.jar"/>
- <pathelement location="${PRODUCT_DIR}/lib.java/chromium_media.jar"/>
- <pathelement location="${PRODUCT_DIR}/lib.java/chromium_net.jar"/>
+ <fileset file="${lib.java.dir}/chromium_content.jar"/>
cjhopman 2012/09/07 19:50:35 <pathelement location=
shashi 2012/09/07 23:31:31 Done.
+ <fileset file="${lib.java.dir}/chromium_net.jar"/>
+ <fileset file="${lib.java.dir}/chromium_base.jar"/>
+ <fileset file="${lib.java.dir}/chromium_media.jar"/>
</path>
- <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.input.ref}"/>
-
- <echo>classpath: ${toString:out.dex.jar.input.ref}</echo>
-
- <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) -->
cjhopman 2012/09/07 19:50:35 We are no longer checking that PRODUCT_DIR is set?
shashi 2012/09/07 21:02:30 It is already done in common.xml, due to safe sett
- <fail message="PRODUCT_DIR env var not set?">
- <condition>
- <not>
- <isset property="PRODUCT_DIR"/>
- </not>
- </condition>
- </fail>
-
<target name="-post-compile">
<!--
Copy gdbserver to main libs directory if building debug.

Powered by Google App Engine
This is Rietveld 408576698