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

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 9182239da8b9ebaefd9c52e8246495362ad83d41..a7379829d2ef584b736ce980df98c06fe7f2b445 100644
--- a/content/shell/android/java/content_shell_apk.xml
+++ b/content/shell/android/java/content_shell_apk.xml
@@ -10,7 +10,10 @@
</description>
<import file="../../../../build/android/ant/common.xml"/>
- <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> release. -->
+ <!--
+ Convert the buildtype to lowercase. E.g Debug -> debug,
+ Release -> release.
+ -->
cjhopman 2012/09/18 21:40:20 No need to change this to multiline (100 columns f
<script language="javascript">
project.setProperty("configuration.name",
project.getProperty("CONFIGURATION_NAME").toLowerCase())
@@ -20,29 +23,19 @@
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"/>
<path id="out.dex.jar.input.ref">
<filelist files="${INPUT_JARS_PATHS}"/>
</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) -->
- <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.
@@ -56,7 +49,7 @@
<equals arg1="${build.target}" arg2="debug"/>
</condition>
<then>
- <echo message="Copying gdbserver to the apk to enable native debugging" />
+ <echo message="Copying gdbserver to the apk to enable native debugging"/>
<copy todir="${out.dir}/libs/${target.abi}">
<path refid="native.libs.gdbserver"/>
</copy>

Powered by Google App Engine
This is Rietveld 408576698