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

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

Issue 10905209: Revert "Revert 155950 - Add initial Chromium TestShell support for Android" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add launcher property to apk manifest 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: chrome/android/testshell/java/chromium_testshell_apk.xml
diff --git a/content/shell/android/java/content_shell_apk.xml b/chrome/android/testshell/java/chromium_testshell_apk.xml
similarity index 61%
copy from content/shell/android/java/content_shell_apk.xml
copy to chrome/android/testshell/java/chromium_testshell_apk.xml
index 9182239da8b9ebaefd9c52e8246495362ad83d41..a2e4b7a0ecca9690a9bcb5549961d65bca1b400b 100644
--- a/content/shell/android/java/content_shell_apk.xml
+++ b/chrome/android/testshell/java/chromium_testshell_apk.xml
@@ -4,35 +4,41 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<project name="ContentShell" default="debug" basedir=".">
+<project name="ChromiumTestShell" default="debug" basedir=".">
<description>
- Building ContentShell.apk
+ Building ChromiumTestShell.apk
</description>
<import file="../../../../build/android/ant/common.xml"/>
- <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> release. -->
- <script language="javascript">
- project.setProperty("configuration.name",
- project.getProperty("CONFIGURATION_NAME").toLowerCase())
- </script>
<property-value name="target.abi" value="${APP_ABI}"/>
- <property-location name="out.dir" location="${PRODUCT_DIR}/content_shell"
+
+ <!-- Root directory for output -->
+ <property-location name="out.dir" location="${PRODUCT_DIR}/chromium_testshell"
check-exists="false"/>
- <property name="resource.absolute.dir" value="../res"/>
+ <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"/>
+
+ <!-- Standard directory for chromium_*.jars -->
+ <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/>
<path id="native.libs.gdbserver">
<fileset file="${android.gdbserver}"/>
</path>
+ <!-- Specify directory for libchromiumtestshell.so so that it can be packaged by aapt -->
<property name="native.libs.absolute.dir" location="${out.dir}/libs"/>
- <property name="asset.absolute.dir" location="${out.dir}/assets"/>
+ <!-- Specify assets dir, this allows both mmm and SDK builds to use same pak files. -->
+ <property-location name="asset.absolute.dir" location="${PRODUCT_DIR}/../assets/chrome"/>
+
+ <property name="version.code" value="16"/>
+ <property name="version.name" value="0.1 Developer Build"/>
<path id="out.dex.jar.input.ref">
- <filelist files="${INPUT_JARS_PATHS}"/>
+ <pathelement location="${lib.java.dir}/chromium_base.jar"/>
+ <pathelement location="${lib.java.dir}/chromium_content.jar"/>
+ <pathelement location="${lib.java.dir}/chromium_media.jar"/>
+ <pathelement location="${lib.java.dir}/chromium_net.jar"/>
+ <pathelement location="${lib.java.dir}/chromium_chrome.jar"/>
+ <pathelement location="${lib.java.dir}/chromium_web_contents_delegate_android.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) -->
<fail message="PRODUCT_DIR env var not set?">
@@ -72,3 +78,4 @@
<import file="../../../../build/android/ant/sdk-targets.xml"/>
<import file="${sdk.dir}/tools/ant/build.xml"/>
</project>
+

Powered by Google App Engine
This is Rietveld 408576698