| Index: android_webview/java/android_webview_apk.xml
|
| diff --git a/android_webview/java/android_webview_apk.xml b/android_webview/java/android_webview_apk.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8d379485717f28e2a6f7dbb9e4b8578a5411d545
|
| --- /dev/null
|
| +++ b/android_webview/java/android_webview_apk.xml
|
| @@ -0,0 +1,45 @@
|
| +<?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"/>
|
| + <import file="../../build/android/ant/sdk-targets.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_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="${sdk.dir}/tools/ant/build.xml"/>
|
| +</project>
|
|
|