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

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

Issue 10918113: Add initial Chromium TestShell support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Yaron's Comments 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/chrome/android/testshell/java/chromium_testshell_apk.xml b/chrome/android/testshell/java/chromium_testshell_apk.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ec1ba3b0cce739dd5654b5830b496b84fc5e09ba
--- /dev/null
+++ b/chrome/android/testshell/java/chromium_testshell_apk.xml
@@ -0,0 +1,56 @@
+<?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"/>
+ <import file="../../../../build/android/ant/sdk-targets.xml"/>
+
+ <!-- Convert the buildtype to lowercase. E.g Debug -> debug, Release -> release. -->
+ <script language="javascript">
shashi 2012/09/10 18:37:29 configuration.name, is this needed?
David Trainor- moved to gerrit 2012/09/10 21:26:16 Done.
+ project.setProperty("configuration.name",
+ project.getProperty("CONFIGURATION_NAME").toLowerCase())
+ </script>
+
+ <property-value name="target.abi" value="${APP_ABI}"/>
+
+ <!-- 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="gen.absolute.dir" value="${out.dir}/gen"/>
+
+ <!-- Standard directory for chromium_*.jars -->
+ <property-value name="lib.java.dir" value="${PRODUCT_DIR}/lib.java"/>
+ <path id="native.libs.gdbserver">
shashi 2012/09/10 18:37:29 Nit: Not needed, it is not used anywhere.
David Trainor- moved to gerrit 2012/09/10 21:26:16 Ah I forgot to add the component that actually add
+ <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"/>
+ <!-- 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">
+ <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"/>
+ <pathelement location="${PRODUCT_DIR}/lib.java/chromium_chrome.jar"/>
+ <pathelement location="${PRODUCT_DIR}/lib.java/chromium_web_contents_delegate_android.jar"/>
+ </path>
+
+ <!-- Classpath for javac -->
+ <path id="javac.custom.classpath">
+ <path refid="out.dex.jar.input.ref"/>
+ </path>
+
+ <import file="${sdk.dir}/tools/ant/build.xml"/>
+</project>

Powered by Google App Engine
This is Rietveld 408576698