blob: f283c19b609c0093178e5d3fde0a71e13d22f1c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<?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="AndroidWebView" default="debug" basedir=".">
<description>
Building AndroidWebView.apk
</description>
<import file="../../build/android/ant/common.xml"/>
<property-value name="target.abi" value="${APP_ABI}"/>
<property-location name="out.dir" location="${PRODUCT_DIR}/android_webview"
check-exists="false"/>
<property name="resource.absolute.dir" value="../res"/>
<property name="gen.absolute.dir" value="${out.dir}/gen"/>
<property name="jar.libs.dir" value="${out.dir}/java/libs"/>
<property name="native.libs.absolute.dir" location="${out.dir}/libs"/>
<property name="asset.absolute.dir" location="${out.dir}/assets"/>
<path id="out.dex.jar.input.ref">
<fileset file="${out.dir}/java/libs/chromium_base.jar"/>
<fileset file="${out.dir}/java/libs/chromium_chrome.jar"/>
<fileset file="${out.dir}/java/libs/chromium_content.jar"/>
<fileset file="${out.dir}/java/libs/chromium_media.jar"/>
<fileset file="${out.dir}/java/libs/chromium_net.jar"/>
<fileset file="${out.dir}/java/libs/chromium_web_contents_delegate_android.jar"/>
</path>
<property name="java.compilerargs" value="-classpath ${toString:out.dex.jar.input.ref}"/>
<!-- 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>
<!-- Classpath for javac -->
<path id="javac.custom.classpath">
<path refid="out.dex.jar.input.ref"/>
</path>
<import file="../../build/android/ant/sdk-targets.xml"/>
<import file="${sdk.dir}/tools/ant/build.xml"/>
</project>
|