39 lines
No EOL
1.8 KiB
XML
39 lines
No EOL
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="clobber_android_rules" default="debug">
|
|
|
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
|
|
|
<!--
|
|
This is copy/pasted from ${sdk.dir}/tools/ant/build.xml
|
|
and tweaked - it needs to match the same SDK version as
|
|
your build
|
|
-->
|
|
|
|
<target name="-package-resources" depends="-crunch">
|
|
<!-- only package resources if *not* a library project -->
|
|
<do-only-if-not-library elseText="Library project: do not package resources..." >
|
|
<aapt executable="${aapt}"
|
|
command="package"
|
|
versioncode="${version.code}"
|
|
versionname="${version.name}"
|
|
debug="${build.is.packaging.debug}"
|
|
manifest="${out.manifest.abs.file}"
|
|
assets="${asset.absolute.dir}"
|
|
androidjar="${project.target.android.jar}"
|
|
apkfolder="${out.absolute.dir}"
|
|
nocrunch="${build.packaging.nocrunch}"
|
|
resourcefilename="${resource.package.file.name}"
|
|
resourcefilter="${aapt.resource.filter}"
|
|
libraryResFolderPathRefid="project.library.res.folder.path"
|
|
libraryPackagesRefid="project.library.packages"
|
|
previousBuildType="${build.last.target}"
|
|
buildType="${build.target}"
|
|
ignoreAssets="${aapt.ignore.assets}">
|
|
<res path="${out.res.absolute.dir}" />
|
|
<res path="${resource.absolute.dir}" />
|
|
<nocompress/> <!-- forces no compression on any files in assets or res/raw -->
|
|
<!-- <nocompress extension="xml" /> forces no compression on specific file extensions in assets and res/raw -->
|
|
</aapt>
|
|
</do-only-if-not-library>
|
|
</target>
|
|
</project> |