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 18790 c3cbaf48ff68694c15fbc863c65cb57e6d19da01
parent 18789 ddba7f8e793c2458e83c34d70c01d35ee95f5189
child 18791 744ee111af426789a6d6fff8c71b779eb5db5c58
push id1623
push userclokep@gmail.com
push dateMon, 25 Apr 2016 14:53:28 +0000
treeherdercomm-esr52@2b8c5494c89f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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