Bug 761541 - Don't regenerate third_party/libevent/event.h if already there, avoids relinking libxul.so when nothing changed and building against native libevent. r=glandium
authorLandry Breuil <landry@openbsd.org>
Thu, 10 Jul 2014 11:03:41 +0200
changeset 193222 cd1a690a248d39bdfb0b6daa39ad4ab9aac4abf0
parent 193221 18ed7626a49b5ef1293d6b327967eadaf956ea04
child 193223 170873fd6b998910a287c0a070033c586d42914b
push id46059
push userlandry@openbsd.org
push dateThu, 10 Jul 2014 09:04:11 +0000
treeherdermozilla-inbound@cd1a690a248d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs761541
milestone33.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 761541 - Don't regenerate third_party/libevent/event.h if already there, avoids relinking libxul.so when nothing changed and building against native libevent. r=glandium
ipc/chromium/Makefile.in
--- a/ipc/chromium/Makefile.in
+++ b/ipc/chromium/Makefile.in
@@ -27,12 +27,14 @@ OS_CXXFLAGS += $(TK_CFLAGS)
 include $(topsrcdir)/config/rules.mk
 
 ifdef MOZ_NATIVE_LIBEVENT # {
 
 export-preqs = \
   $(call mkdir_deps,$(CURDIR)/third_party/libevent) \
   $(NULL)
 
-export:: $(export-preqs)
+export:: $(DIST)/third_party/libevent/event.h
+
+$(DIST)/third_party/libevent/event.h:: $(export-preqs)
 	echo '#include <event.h>' > $(CURDIR)/third_party/libevent/event.h
 
 endif # }