Bug 1003359 - Delete existing zip before zipping resources. r=mcomella

This commit is contained in:
Nick Alexander 2014-05-12 15:08:49 -07:00
Родитель 4861e4d265
Коммит 67fb89c202
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -252,7 +252,11 @@ cd $(2) && zip -q $(1) -r * -x $(not_android_res_files)
endef
# We delete the archive before updating so that resources removed from
# the filesystem are removed from the archive.
geckoview_resources.zip: $(all_resources) $(GLOBAL_DEPS)
$(REPORT_BUILD)
$(RM) -rf $@
$(foreach dir,$(ANDROID_RES_DIRS),$(call zip_directory_with_relative_paths,$(CURDIR)/$@,$(dir)))
# All of generated/org/mozilla/gecko/R.java, gecko.ap_, and R.txt are