diff options
author | dhewg | 2011-04-09 18:28:02 +0200 |
---|---|---|
committer | dhewg | 2011-04-09 18:39:35 +0200 |
commit | 90f47c7b1d9725c13d972a0e2a61b2cd966bbab5 (patch) | |
tree | a419432cdcac23b630805046b71d5a87e701178c /backends/platform/android | |
parent | 44ab256101c8beec0860538127c2c7d602366c71 (diff) | |
download | scummvm-rg350-90f47c7b1d9725c13d972a0e2a61b2cd966bbab5.tar.gz scummvm-rg350-90f47c7b1d9725c13d972a0e2a61b2cd966bbab5.tar.bz2 scummvm-rg350-90f47c7b1d9725c13d972a0e2a61b2cd966bbab5.zip |
ANDOID: Replace mkmanifest.pl with sh/sed code
Removes build dependencies like perl and its XML modules
Diffstat (limited to 'backends/platform/android')
-rw-r--r-- | backends/platform/android/android.mk | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/backends/platform/android/android.mk b/backends/platform/android/android.mk index 01ebf73a81..fdb0f8096a 100644 --- a/backends/platform/android/android.mk +++ b/backends/platform/android/android.mk @@ -110,14 +110,13 @@ $(FILE_DEX_PLUGIN): $(CLASSES_PLUGIN) @$(MKDIR) -p $(@D) $(DX) --dex --output=$@ $(PATH_BUILD_CLASSES_PLUGIN_TOP) -$(PATH_BUILD)/%/AndroidManifest.xml $(PATH_STAGE_PREFIX).%/res/values/strings.xml: $(PATH_DIST)/mkmanifest.pl $(srcdir)/configure $(PATH_DIST)/AndroidManifest.xml - $(PATH_DIST)/mkmanifest.pl --id=$* --configure=$(srcdir)/configure \ - --version-name=$(VERSION) \ - --version-code=$(ANDROID_PLUGIN_VERSIONCODE) \ - --stringres=$(PATH_STAGE_PREFIX).$*/res/values/strings.xml \ - --manifest=$(PATH_BUILD)/$*/AndroidManifest.xml \ - --master-manifest=$(PATH_DIST)/AndroidManifest.xml \ - --unpacklib=mylib/armeabi/lib$*.so +$(PATH_BUILD)/%/AndroidManifest.xml: $(PATH_DIST)/mkplugin.sh $(srcdir)/configure $(PATH_DIST)/plugin-manifest.xml + @$(MKDIR) -p $(@D) + $(PATH_DIST)/mkplugin.sh $(srcdir)/configure $* $(PATH_DIST)/plugin-manifest.xml $(ANDROID_PLUGIN_VERSIONCODE) $@ + +$(PATH_STAGE_PREFIX).%/res/values/strings.xml: $(PATH_DIST)/mkplugin.sh $(srcdir)/configure $(PATH_DIST)/plugin-manifest.xml + @$(MKDIR) -p $(@D) + $(PATH_DIST)/mkplugin.sh $(srcdir)/configure $* $(PATH_DIST)/plugin-strings.xml $(ANDROID_PLUGIN_VERSIONCODE) $@ $(PATH_STAGE_PREFIX).%/res/drawable/scummvm.png: $(PATH_RESOURCES)/drawable/scummvm.png @$(MKDIR) -p $(@D) |