Bug 913134 - Avoid some build races in mobile/android/base. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 06 Sep 2013 09:23:08 +0900
changeset 145809 6cb722cd3f7cd98c3237b7de7d02e640b2df63e6
parent 145808 20a4b8ad2107aa23f9aae1aa7e63f03edcd7b0e5
child 145810 8b4a47eb12176d11f7f8688fd34983107cc06935
push id25225
push useremorley@mozilla.com
push dateFri, 06 Sep 2013 14:32:11 +0000
treeherdermozilla-central@fff320870b20 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs913134
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 913134 - Avoid some build races in mobile/android/base. r=gps
mobile/android/base/Makefile.in
--- a/mobile/android/base/Makefile.in
+++ b/mobile/android/base/Makefile.in
@@ -1370,17 +1370,17 @@ res/drawable-xxhdpi/icon.png: $(ICON_PAT
 $(RES_DIRS): $(subst res/,$(srcdir)/resources/,$(RESOURCES))
 	$(RM) -r $@
 	$(NSINSTALL) -D $@
 
 $(RESOURCES): $(RES_DIRS) $(subst res/,$(srcdir)/resources/,$(RESOURCES))
 	@echo "creating $@"
 	$(NSINSTALL) $(subst res/,$(srcdir)/resources/,$@) $(dir $@)
 
-res/values/strings.xml:
+res/values/strings.xml: $(RES_DIRS)
 	$(MAKE) -C locales
 
 # With multilocale builds, there will be multiple strings.xml files. We need to
 # rebuild gecko.ap_ if any of them change.
 MULTILOCALE_STRINGS_XML_FILES := $(wildcard res/values-*/strings.xml)
 all_resources = \
   res/drawable-mdpi/icon.png \
   res/drawable-hdpi/icon.png \