summaryrefslogtreecommitdiff
path: root/android/Bootstrap
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-27 12:06:41 +0300
committerTor Lillqvist <tml@iki.fi>2013-06-27 12:08:19 +0300
commit653a4b313c685fbf7c8e13a044aa6765b4fd45a2 (patch)
tree0f9449bc02437017412ea5ea69bde8ea686e0a40 /android/Bootstrap
parent2728808553e5a248d1e4dc1361e4784400a75e7b (diff)
Need a no-resource-compress.xml for Android SDK version 22, too
Can be identical to the one for version 21. Change-Id: Ic974dd9ed06947e6be1c04598d3a7e715795e202
Diffstat (limited to 'android/Bootstrap')
-rw-r--r--android/Bootstrap/no-resource-compress-22.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/android/Bootstrap/no-resource-compress-22.xml b/android/Bootstrap/no-resource-compress-22.xml
new file mode 100644
index 000000000000..2b297826f0c8
--- /dev/null
+++ b/android/Bootstrap/no-resource-compress-22.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>