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

Unified Diff: chrome/android/testshell/java/chromium_testshell_apk.xml

Issue 10959034: Make apks build from a single ant .xml template (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 2 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
« no previous file with comments | « build/java_apk.gypi ('k') | chrome/android/testshell/javatests/chromium_testshell_test_apk.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/testshell/java/chromium_testshell_apk.xml
diff --git a/chrome/android/testshell/java/chromium_testshell_apk.xml b/chrome/android/testshell/java/chromium_testshell_apk.xml
deleted file mode 100644
index 0f0cba24401348ddc686a51c98d02f196550e36f..0000000000000000000000000000000000000000
--- a/chrome/android/testshell/java/chromium_testshell_apk.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2012 The Chromium Authors. All rights reserved.
- Use of this source code is governed by a BSD-style license that can be
- found in the LICENSE file.
--->
-<project name="ChromiumTestShell" default="debug" basedir=".">
- <description>
- Building ChromiumTestShell.apk
- </description>
- <import file="../../../../build/android/ant/common.xml"/>
-
- <property-value name="target.abi" value="${APP_ABI}"/>
- <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell"
- check-exists="false"/>
- <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
- <property name="gen.absolute.dir" value="${out.dir}/gen"/>
-
- <path id="native.libs.gdbserver">
- <fileset file="${android.gdbserver}"/>
- </path>
- <property name="native.libs.absolute.dir" location="${out.dir}/libs"/>
- <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../assets/chrome"/>
- <!-- 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="javac.srcdirs.additional">
- <filelist files="${ADDITIONAL_SRC_DIRS}"/>
- <filelist files="${GENERATED_SRC_DIRS}"/>
- </path>
-
- <path id="out.dex.jar.input.ref">
- <filelist files="${INPUT_JARS_PATHS}"/>
- </path>
-
- <!-- 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.
- TODO(jrg): for now, Chrome on Android always builds native code
- as Release and java/ant as Debug, which means we always install
- gdbserver. Resolve this discrepancy, possibly by making this
- Release Official build java/ant as Release.
- -->
- <if>
- <condition>
- <equals arg1="${build.target}" arg2="debug"/>
- </condition>
- <then>
- <echo message="Copying gdbserver to the apk to enable native debugging" />
- <copy todir="${out.dir}/libs/${target.abi}">
- <path refid="native.libs.gdbserver"/>
- </copy>
- </then>
- </if>
-
- <!-- Package all the compiled .class files into a .jar. -->
- <jar
- jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"
- basedir="${out.classes.absolute.dir}"
- />
- </target>
-
- <!-- Classpath for javac -->
- <path id="javac.custom.classpath">
- <path refid="out.dex.jar.input.ref"/>
- </path>
-
- <import file="../../../../build/android/ant/sdk-targets.xml"/>
- <import file="${sdk.dir}/tools/ant/build.xml"/>
-</project>
-
« no previous file with comments | « build/java_apk.gypi ('k') | chrome/android/testshell/javatests/chromium_testshell_test_apk.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698