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

Unified Diff: testing/android/native_test_apk.xml

Issue 13828003: [Android] Build gtest APKs like other APKs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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 | « testing/android/generate_native_test.py ('k') | testing/android/res/values/strings.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/native_test_apk.xml
diff --git a/testing/android/native_test_apk.xml b/testing/android/native_test_apk.xml
deleted file mode 100644
index 24e5bf5549cc1142c20a75e64ac80ef02fe1f3e9..0000000000000000000000000000000000000000
--- a/testing/android/native_test_apk.xml
+++ /dev/null
@@ -1,87 +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="replaceme" default="debug" basedir=".">
-
- <description>
- Building native test runner ChromeNativeTests_replaceme.apk
- </description>
-
- <!--
- TODO(beverloo): Remove this property when all gyp files (also those in
- WebKit) define the CHROMIUM_SRC property. This works because properties
- in ant files are immutable.
- -->
- <property name="CHROMIUM_SRC" value="${PRODUCT_DIR}/../.." />
-
- <import file="${CHROMIUM_SRC}/build/android/ant/common.xml"/>
-
- <!--
- TODO(yfriedman): Remove the need to specify this. We should generate the packages in a way such
- that it's not required.
- -->
- <property name="source.absolute.dir" value="java/src"/>
- <path id="javac.custom.classpath">
- <pathelement location="${ANDROID_SDK}/android.jar" />
- </path>
- <property name="target.abi" value="${APP_ABI}"/>
-
- <path id="native.libs.gdbserver">
- <fileset file="${android.gdbserver}"/>
- </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>
-
- <property name="out.dir" location="${PRODUCT_DIR}/replaceme_apk"/>
-
- <property name="resource.absolute.dir" value="res"/>
- <property name="gen.absolute.dir" value="${out.dir}/gen"/>
-
- <path id="out.dex.jar.input.ref">
- <filelist files="${INPUT_JARS_PATHS}"/>
- </path>
- <condition property="java.compilerargs"
- value="-classpath ${toString:out.dex.jar.input.ref}">
- <not>
- <equals arg1="${toString:out.dex.jar.input.ref}" arg2=""/>
- </not>
- </condition>
- <property name="native.libs.absolute.dir" location="${out.dir}/libs" />
-
- <!-- Copy the below manifest file to a new directory because the project
- base directory and output directory are the same and manifest merge
- task takes the same file as source and target when doing copying.
- Otherwise it'll generate an empty manifest file. -->
- <copy file="AndroidManifest.xml" todir="${out.dir}/manifest"/>
- <property name="manifest.abs.file" location="${out.dir}/manifest/AndroidManifest.xml"/>
-
- <target name="-post-compile">
- <!-- copy gdbserver to main libs directory if building debug. -->
- <if>
- <condition>
- <equals arg1="${build.target}" arg2="debug" />
- </condition>
- <then>
- <copy todir="${out.dir}/libs/${target.abi}">
- <path refid="native.libs.gdbserver"/>
- </copy>
- </then>
- </if>
- </target>
-
- <import file="${CHROMIUM_SRC}/build/android/ant/sdk-targets.xml"/>
- <import file="${sdk.dir}/tools/ant/build.xml" />
-
-</project>
« no previous file with comments | « testing/android/generate_native_test.py ('k') | testing/android/res/values/strings.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698