Port Bug 1246881 - Generate a header defining MOZ_BUILDID for c-c. rs=bustage=fix
authoraleth <aleth@instantbird.org>
Sun, 14 Feb 2016 14:06:19 +0100
changeset 24355 c3cbaf48ff68694c15fbc863c65cb57e6d19da01
parent 24354 ddba7f8e793c2458e83c34d70c01d35ee95f5189
child 24356 744ee111af426789a6d6fff8c71b779eb5db5c58
push idunknown
push userunknown
push dateunknown
reviewersbustage
bugs1246881
Port Bug 1246881 - Generate a header defining MOZ_BUILDID for c-c. rs=bustage=fix
client.mk
--- a/client.mk
+++ b/client.mk
@@ -261,17 +261,17 @@ profiledbuild::
 	$(MAKE) -f $(TOPSRCDIR)/client.mk build MOZ_PROFILE_USE=1
 
 #####################################################
 # Build date unification
 
 ifdef MOZ_UNIFY_BDATE
 ifndef MOZ_BUILD_DATE
 ifdef MOZ_BUILD_PROJECTS
-MOZ_BUILD_DATE = $(shell $(PYTHON) $(TOPSRCDIR)/mozilla/toolkit/xre/make-platformini.py --print-buildid)
+MOZ_BUILD_DATE = $(shell $(PYTHON) $(TOPSRCDIR)/build/variables.py buildid_header | awk '{print $$3}')
 export MOZ_BUILD_DATE
 endif
 endif
 endif
 
 #####################################################
 # Preflight, before building any project