| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <project default="error"> | 6 <project default="error"> |
| 7 <property name="ant.project.name" value="${APK_NAME}"/> | 7 <property name="ant.project.name" value="${APK_NAME}"/> |
| 8 <!-- | 8 <!-- |
| 9 Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targe
ts will call the | 9 Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targe
ts will call the |
| 10 appropriate sdk tools target. | 10 appropriate sdk tools target. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 <filelist files="${ADDITIONAL_SRC_DIRS}"/> | 30 <filelist files="${ADDITIONAL_SRC_DIRS}"/> |
| 31 <filelist files="${GENERATED_SRC_DIRS}"/> | 31 <filelist files="${GENERATED_SRC_DIRS}"/> |
| 32 </path> | 32 </path> |
| 33 | 33 |
| 34 <property-value name="target.abi" value="${APP_ABI}"/> | 34 <property-value name="target.abi" value="${APP_ABI}"/> |
| 35 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> | 35 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> |
| 36 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/> | 36 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 37 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" | 37 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" |
| 38 check-exists="false"/> | 38 check-exists="false"/> |
| 39 | 39 |
| 40 <property-value name="version.code" value="${APP_MANIFEST_VERSION_CODE}"/> |
| 41 <property-value name="version.name" value="${APP_MANIFEST_VERSION_NAME}"/> |
| 42 |
| 43 <property name="proguard.config" value="${PROGUARD_FLAGS}"/> |
| 44 <property name="proguard.enabled" value="${PROGUARD_ENABLED}"/> |
| 45 <!-- TODO(shashishekhar): Enable emma and code-coverage filters. --> |
| 46 |
| 40 <condition property="asset.absolute.dir" | 47 <condition property="asset.absolute.dir" |
| 41 value="${out.dir}/assets" | 48 value="${out.dir}/assets" |
| 42 else="${ASSET_DIR}"> | 49 else="${ASSET_DIR}"> |
| 43 <equals arg1="${ASSET_DIR}" arg2=""/> | 50 <equals arg1="${ASSET_DIR}" arg2=""/> |
| 44 </condition> | 51 </condition> |
| 45 | 52 |
| 46 <!-- Set the output directory for the final apk to the ${apks.dir}. --> | 53 <!-- Set the output directory for the final apk to the ${apks.dir}. --> |
| 47 <property-location name="out.final.file" | 54 <property-location name="out.final.file" |
| 48 location="${apks.dir}/${ant.project.name}-debug.apk" | 55 location="${apks.dir}/${ant.project.name}-debug.apk" |
| 49 check-exists="false"/> | 56 check-exists="false"/> |
| 50 | 57 |
| 51 <path id="out.dex.jar.input.ref"> | 58 <!-- Classpath for javac --> |
| 59 <path id="javac.custom.classpath"> |
| 52 <filelist files="${INPUT_JARS_PATHS}"/> | 60 <filelist files="${INPUT_JARS_PATHS}"/> |
| 53 </path> | 61 </path> |
| 54 | 62 |
| 55 <!-- Classpath for javac --> | 63 <path id="out.dex.jar.input.ref"> |
| 56 <path id="javac.custom.classpath"> | 64 <path refid="javac.custom.classpath"/> |
| 57 <path refid="out.dex.jar.input.ref"/> | |
| 58 </path> | 65 </path> |
| 59 | 66 |
| 60 <import file="sdk-targets.xml"/> | 67 <import file="sdk-targets.xml"/> |
| 61 <import file="${sdk.dir}/tools/ant/build.xml"/> | 68 <import file="${sdk.dir}/tools/ant/build.xml"/> |
| 62 </project> | 69 </project> |
| 63 | 70 |
| OLD | NEW |