Skip to content

Commit

Permalink
Bug 1470552 - Update Makefile.in to refer to stub file target for bui…
Browse files Browse the repository at this point in the history
…ldid.h and source-repo.h generated in backend.mk r=froydnj

MozReview-Commit-ID: CxLkQjX8veW
  • Loading branch information
chmanchester committed Jun 22, 2018
1 parent 48d0095 commit 3bb7bd8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ ifndef MOZ_PROFILE_USE
# re-linking libxul on every incremental build we do not enforce this for
# developer builds. Tests always need a new buildid as well.
ifneq (,$(MOZ_AUTOMATION)$(MOZ_BUILD_DATE)$(TEST_MOZBUILD))
buildid.h source-repo.h: FORCE
$(MDDEPDIR)/buildid.h.stub $(MDDEPDIR)/source-repo.h.stub: FORCE
endif
# Additionally, provide a dummy target during tests, because
# faster/rules.mk will expect these targets to exist.
ifdef TEST_MOZBUILD
source-repo.h: $(MDDEPDIR)/source-repo.h.stub
buildid.h: $(MDDEPDIR)/buildid.h.stub
endif
endif

Expand Down

0 comments on commit 3bb7bd8

Please sign in to comment.