diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-27 15:44:25 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-06-30 14:48:01 +0200 |
commit | cfd74ae2b9e77f6e0c515d91912fec6b5a632f9f (patch) | |
tree | d4019eb3555aed5efb7768339d1cbc10d6bd06ac /android | |
parent | e3d91e91489bb9db9c4fe0e639255e8088299151 (diff) |
android: Support for Android SDK Tools 23 + note about their brokeness.
Change-Id: I6b1636703044f03c5daa4c3ac1630f23c5c3c2e5
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/no-resource-compress-23.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/android/Bootstrap/no-resource-compress-23.xml b/android/Bootstrap/no-resource-compress-23.xml new file mode 100644 index 000000000000..2b297826f0c8 --- /dev/null +++ b/android/Bootstrap/no-resource-compress-23.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> |