diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-18 18:47:26 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-12-18 18:52:19 +0900 |
commit | bcb4f01de2d6f6a9d06ca7dfd14fa80e725f5a81 (patch) | |
tree | 8c6db1d449bf19c33799b46513735cdbe46748e1 /android | |
parent | 2a6dc39ba96648a296fcad29a7a0a44f7e749e2a (diff) |
android: support building with SDK tools 24
Change-Id: I424e81b849d7e0ec5c61eddcc70279e3559885d1
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/no-resource-compress-24.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/android/Bootstrap/no-resource-compress-24.xml b/android/Bootstrap/no-resource-compress-24.xml new file mode 100644 index 000000000000..2b297826f0c8 --- /dev/null +++ b/android/Bootstrap/no-resource-compress-24.xml @@ -0,0 +1,45 @@ +<?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 +--> + +<!-- + This file is auto-generated by Bootstrap/Makefile.shared from + a versioned .xml file - please edit me there +--> + + <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" + libraryRFileRefid="project.library.bin.r.file.path" + 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> |