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