From e19afc027ee8100c933216635cf992abad23f4a2 Mon Sep 17 00:00:00 2001 From: "sayrer%gmail.com" Date: Tue, 19 Dec 2006 19:51:31 +0000 Subject: [PATCH] Bug 364337. Fix unit test build bustage--don't run bookmarks tests when bookmarks aren't enabled. r=sspitzer --- browser/components/places/tests/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/browser/components/places/tests/Makefile.in b/browser/components/places/tests/Makefile.in index faf3ff668b3..358e3b02733 100644 --- a/browser/components/places/tests/Makefile.in +++ b/browser/components/places/tests/Makefile.in @@ -58,6 +58,11 @@ MODULE = test_places include $(topsrcdir)/config/rules.mk _UNIT_FILES := $(wildcard $(srcdir)/unit/*.js) +#ifndef MOZ_PLACES_BOOKMARKS +_UNIT_FILES := $(patsubst %marks.js,,$(_UNIT_FILES)) +_UNIT_FILES += $(wildcard $(srcdir)/unit/head*.js) +_UNIT_FILES += $(wildcard $(srcdir)/unit/tail*.js) +#endif libs:: $(_UNIT_FILES) $(INSTALL) $^ $(DIST)/bin/$(MODULE)