OLD | NEW |
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 <project name="AndroidWebView" default="debug" basedir="."> | 7 <project name="AndroidWebView" default="debug" basedir="."> |
8 <description> | 8 <description> |
9 Building AndroidWebView.apk | 9 Building AndroidWebView.apk |
10 </description> | 10 </description> |
11 <import file="../../build/android/ant/common.xml"/> | 11 <import file="../../build/android/ant/common.xml"/> |
12 | 12 |
13 <property-value name="target.abi" value="${APP_ABI}"/> | 13 <property-value name="target.abi" value="${APP_ABI}"/> |
14 <property-location name="out.dir" location="${PRODUCT_DIR}/android_webview" | 14 <property-location name="out.dir" location="${PRODUCT_DIR}/android_webview" |
15 check-exists="false"/> | 15 check-exists="false"/> |
16 <property name="resource.absolute.dir" value="../res"/> | 16 <property name="resource.absolute.dir" value="../res"/> |
17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | 17 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
18 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> | 18 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> |
19 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> | 19 <property name="native.libs.absolute.dir" location="${out.dir}/libs"/> |
20 <property name="asset.absolute.dir" location="${out.dir}/assets"/> | 20 <property name="asset.absolute.dir" location="${out.dir}/assets"/> |
21 | 21 |
22 <path id="out.dex.jar.input.ref"> | 22 <path id="out.dex.jar.input.ref"> |
23 <filelist files="${INPUT_JARS_PATHS}"/> | 23 <fileset file="${out.dir}/java/libs/chromium_base.jar"/> |
| 24 <fileset file="${out.dir}/java/libs/chromium_chrome.jar"/> |
| 25 <fileset file="${out.dir}/java/libs/chromium_content.jar"/> |
| 26 <fileset file="${out.dir}/java/libs/chromium_media.jar"/> |
| 27 <fileset file="${out.dir}/java/libs/chromium_net.jar"/> |
| 28 <fileset file="${out.dir}/java/libs/chromium_web_contents_delegate_android.j
ar"/> |
24 </path> | 29 </path> |
25 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in
put.ref}"/> | 30 <property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.in
put.ref}"/> |
26 | 31 |
27 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) -
-> | 32 <!-- We expect PRODUCT_DIR to be set like the gyp var (e.g. $ROOT/out/Debug) -
-> |
28 <fail message="PRODUCT_DIR env var not set?"> | 33 <fail message="PRODUCT_DIR env var not set?"> |
29 <condition> | 34 <condition> |
30 <not> | 35 <not> |
31 <isset property="PRODUCT_DIR"/> | 36 <isset property="PRODUCT_DIR"/> |
32 </not> | 37 </not> |
33 </condition> | 38 </condition> |
34 </fail> | 39 </fail> |
35 | 40 |
36 <!-- Classpath for javac --> | 41 <!-- Classpath for javac --> |
37 <path id="javac.custom.classpath"> | 42 <path id="javac.custom.classpath"> |
38 <path refid="out.dex.jar.input.ref"/> | 43 <path refid="out.dex.jar.input.ref"/> |
39 </path> | 44 </path> |
40 <import file="../../build/android/ant/sdk-targets.xml"/> | 45 <import file="../../build/android/ant/sdk-targets.xml"/> |
41 <import file="${sdk.dir}/tools/ant/build.xml"/> | 46 <import file="${sdk.dir}/tools/ant/build.xml"/> |
42 </project> | 47 </project> |
OLD | NEW |