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

Unified Diff: base/test/android/native_test_apk.xml

Issue 9834037: apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ifi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more line tweak Created 8 years, 9 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: base/test/android/native_test_apk.xml
diff --git a/base/test/android/native_test_apk.xml b/base/test/android/native_test_apk.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6f394306b7f22bcab2a863d576c138e0afd2a088
--- /dev/null
+++ b/base/test/android/native_test_apk.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
klobag.chromium 2012/03/28 00:28:57 copyright?
+<project name="ChromeNativeTests" default="debug" basedir=".">
+
+ <description>
+ Building native test runner ChromeNativeTests.apk
+ </description>
+
+ <property environment="env"/>
+ <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
+ <property name="source.dir" location="java"/>
+ <property name="target" value="android-14"/>
+
+ <!-- We expect PRODUCT_DIR to be set like the gyp var
+ (e.g. $ROOT/out/Debug) -->
+ <!-- TODO(jrg): ideally we need this to run before -build-setup, where
+ directories are made based on this variable. -->
+ <target name="-pre-build">
+ <if>
+ <condition>
+ <isset property="PRODUCT_DIR" />
+ </condition>
+ <else>
+ <fail message="PRODUCT_DIR env var not set?" />
+ </else>
+ </if>
+ </target>
+
+ <property name="out.dir" location="${PRODUCT_DIR}"/>
+
+ <!-- TODO(jrg): should I make these directories specific to the apk? -->
+ <property name="resource.absolute.dir" value="${out.dir}/res"/>
+ <property name="gen.absolute.dir" value="${out.dir}/gen"/>
+ <property name="jar.libs.dir" value="${out.dir}/java/libs"/>
+
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>

Powered by Google App Engine
This is Rietveld 408576698