Kaydet (Commit) 346b6447 authored tarafından Michael Meeks's avatar Michael Meeks

android: detect updated sdk and re-generate troublesome ant rules.

Change-Id: I147439e99892a5794a4bca880c5b3e22e46e1f86
üst b3356f6f
...@@ -38,7 +38,7 @@ endef ...@@ -38,7 +38,7 @@ endef
# #
# Horrors below: # Horrors below:
# #
$(BOOTSTRAPDIR)/no-resource-compress.xml : $(BOOTSTRAPDIR)/no-resource-compress.xml : $(ANDROID_SDK_HOME)/tools/ant/build.xml
( \ ( \
android_sdk_ver=`grep 'Pkg.Revision' $(ANDROID_SDK_HOME)/tools/source.properties | sed 's/^.*=//' | sed 's/\..*//'` ; \ android_sdk_ver=`grep 'Pkg.Revision' $(ANDROID_SDK_HOME)/tools/source.properties | sed 's/^.*=//' | sed 's/\..*//'` ; \
cp $(BOOTSTRAPDIR)/no-resource-compress-$$android_sdk_ver.xml $(BOOTSTRAPDIR)/no-resource-compress.xml ; \ cp $(BOOTSTRAPDIR)/no-resource-compress-$$android_sdk_ver.xml $(BOOTSTRAPDIR)/no-resource-compress.xml ; \
...@@ -68,7 +68,7 @@ uninstall: ...@@ -68,7 +68,7 @@ uninstall:
clean: android_version_setup properties clean: android_version_setup properties
$(ANT) clean $(ANT) clean
rm -rf assets libs $(SODEST) $(OBJLOCAL) rm -rf assets libs $(SODEST) $(OBJLOCAL) $(BOOTSTRAPDIR)/no-resource-compress.xml
# #
# Build / link the single .so for this app # Build / link the single .so for this app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment