30 lines
962 B
Diff
30 lines
962 B
Diff
|
diff --git a/build.xml b/build.xml
|
||
|
index 820fcd0..278fd07 100644
|
||
|
--- a/build.xml
|
||
|
+++ b/build.xml
|
||
|
@@ -88,5 +88,23 @@
|
||
|
-->
|
||
|
<!-- version-tag: 1 -->
|
||
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||
|
-
|
||
|
+ <target name="-package-resources" depends="-crunch">
|
||
|
+ <do-only-if-not-library elseText="Library project: do not package resources..." >
|
||
|
+ <exec executable="${aapt}" failonerror="true">
|
||
|
+ <arg value="package" />
|
||
|
+ <arg value="-f" />
|
||
|
+ <arg value="-M" />
|
||
|
+ <arg path="AndroidManifest.xml" />
|
||
|
+ <arg value="-F" />
|
||
|
+ <arg path="${out.absolute.dir}/${resource.package.file.name}" />
|
||
|
+ <arg value="-I" />
|
||
|
+ <arg path="${android.jar}" />
|
||
|
+ <arg value="-S" />
|
||
|
+ <arg path="${resource.absolute.dir}" />
|
||
|
+ <arg value="--auto-add-overlay" />
|
||
|
+ <arg value="--rename-manifest-package" />
|
||
|
+ <arg value="org.fdroid.dashclock.k9" />
|
||
|
+ </exec>
|
||
|
+ </do-only-if-not-library>
|
||
|
+ </target>
|
||
|
</project>
|