Fix scripts
This commit is contained in:
parent
81cd2a6e98
commit
8994ba2fa6
1 changed files with 22 additions and 32 deletions
|
@ -23,25 +23,15 @@
|
||||||
declared in default.properties.
|
declared in default.properties.
|
||||||
-->
|
-->
|
||||||
<target name="-package-resources" depends="-crunch">
|
<target name="-package-resources" depends="-crunch">
|
||||||
<aapt executable="${aapt}"
|
<!-- only package resources if *not* a library project -->
|
||||||
command="package"
|
<do-only-if-not-library elseText="Library project: do not package resources...">
|
||||||
versioncode="${version.code}"
|
<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}">
|
||||||
versionname="${version.name}"
|
|
||||||
debug="${build.is.packaging.debug}"
|
|
||||||
manifest="AndroidManifest.xml"
|
|
||||||
assets="${asset.absolute.dir}"
|
|
||||||
androidjar="${android.jar}"
|
|
||||||
apkfolder="${out.absolute.dir}"
|
|
||||||
nocrunch="${build.packaging.nocrunch}"
|
|
||||||
resourcefilename="${resource.package.file.name}"
|
|
||||||
resourcefilter="${aapt.resource.filter}"
|
|
||||||
projectLibrariesResName="project.libraries.res"
|
|
||||||
projectLibrariesPackageName="project.libraries.package"
|
|
||||||
previousBuildType="${build.last.target}"
|
|
||||||
buildType="${build.target}">
|
|
||||||
<res path="${out.res.absolute.dir}" />
|
<res path="${out.res.absolute.dir}" />
|
||||||
<res path="${resource.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>
|
</aapt>
|
||||||
|
</do-only-if-not-library>
|
||||||
|
|
||||||
<!-- osmchange -->
|
<!-- osmchange -->
|
||||||
<echo>Packaging aditional OsmAnd resources and assets... to ${out.packaged.file} from ${raw.absolute.dir}</echo>
|
<echo>Packaging aditional OsmAnd resources and assets... to ${out.packaged.file} from ${raw.absolute.dir}</echo>
|
||||||
|
|
Loading…
Reference in a new issue