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

Side by Side Diff: testing/android/native_test_apk.xml

Issue 10830012: [Android] Add chrome_java target for building Java code in the chromium layer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@reland
Patch Set: submodules :S Created 8 years, 4 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 unified diff | Download patch
« no previous file with comments | « testing/android/native_test.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 2 <!--
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <project name="replaceme" default="debug" basedir="."> 8 <project name="replaceme" default="debug" basedir=".">
9 9
10 <description> 10 <description>
11 Building native test runner ChromeNativeTests_replaceme.apk 11 Building native test runner ChromeNativeTests_replaceme.apk
12 </description> 12 </description>
13 13
14 <property environment="env"/> 14 <!--
15 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> 15 TODO(yfriedman): This target can be invoked from multiple depths. So we use ${PRODUCT_DIR} to normalize the paths. This could be cleaned up.
nilesh 2012/08/02 00:13:12 >100 chars.
16 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/> 16 -->
17 <property name="toolchain.dir" location="${env.ANDROID_TOOLCHAIN}"/> 17 <import file="${PRODUCT_DIR}/../../build/android/ant/common.xml"/>
18 <property name="src" location="."/> 18 <import file="${PRODUCT_DIR}/../../build/android/ant/sdk-targets.xml"/>
19 <property name="source.dir" location="java/src"/> 19 <!--
20 TODO(yfriedman): Remove the need to specify this. We should generate the pac kages in a way such
21 that it's not required.
22 -->
23 <property name="source.absolute.dir" value="java/src"/>
24 <path id="javac.custom.classpath">
25 <pathelement location="${ANDROID_SDK}/android.jar" />
26 </path>
20 <property name="target.abi" value="${APP_ABI}"/> 27 <property name="target.abi" value="${APP_ABI}"/>
21 28
22 <property name="target" value="android-${env.ANDROID_SDK_VERSION}"/>
23 <path id="native.libs.gdbserver"> 29 <path id="native.libs.gdbserver">
24 <fileset file="${toolchain.dir}/../../gdbserver"/> 30 <fileset file="${toolchain.dir}/../../gdbserver"/>
25 </path> 31 </path>
26 32
27 <condition property="location.base"
28 value="${sdk.dir}"
29 else="${sdk.dir}/platforms/android-${sdk.version}">
30 <isset property="env.ANDROID_BUILD_TOP"/>
31 </condition>
32
33 <!-- We expect PRODUCT_DIR to be set like the gyp var 33 <!-- We expect PRODUCT_DIR to be set like the gyp var
34 (e.g. $ROOT/out/Debug) --> 34 (e.g. $ROOT/out/Debug) -->
35 <fail message="PRODUCT_DIR env var not set?"> 35 <fail message="PRODUCT_DIR env var not set?">
36 <condition> 36 <condition>
37 <not> 37 <not>
38 <isset property="PRODUCT_DIR"/> 38 <isset property="PRODUCT_DIR"/>
39 </not> 39 </not>
40 </condition> 40 </condition>
41 </fail> 41 </fail>
42 42
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 <copy todir="${out.dir}/libs/${target.abi}"> 79 <copy todir="${out.dir}/libs/${target.abi}">
80 <path refid="native.libs.gdbserver"/> 80 <path refid="native.libs.gdbserver"/>
81 </copy> 81 </copy>
82 </then> 82 </then>
83 </if> 83 </if>
84 </target> 84 </target>
85 85
86 <import file="${sdk.dir}/tools/ant/build.xml" /> 86 <import file="${sdk.dir}/tools/ant/build.xml" />
87 87
88 </project> 88 </project>
OLDNEW
« no previous file with comments | « testing/android/native_test.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698