From 1912d99b33dd488cce20e3ad71e9bc352f95bd13 Mon Sep 17 00:00:00 2001 From: "cmp%mozilla.org" <cmp%mozilla.org> Date: Fri, 12 Aug 2005 06:48:51 +0000 Subject: [PATCH] Add 'all' project to client.mk. Bug 304377, attachment 192471. r=bryner@brianryner.com, sr+a=chase@mozilla.org. --- client.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/client.mk b/client.mk index fce9d563e6fcf..321a03c723ee6 100644 --- a/client.mk +++ b/client.mk @@ -21,6 +21,7 @@ # Contributor(s): # Stephen Lamm # Benjamin Smedberg <bsmedberg@covad.net> +# Chase Phillips <chase@mozilla.org> # # Alternatively, the contents of this file may be used under the terms of # either the GNU General Public License Version 2 or later (the "GPL"), or @@ -90,6 +91,7 @@ # AVAILABLE_PROJECTS = \ + all \ suite \ toolkit \ browser \ @@ -208,6 +210,15 @@ MODULES_macbrowser := \ BOOTSTRAP_macbrowser := mozilla/camino/config/mozconfig +MODULES_all := \ + mozilla/other-licenses/libart_lgpl/ \ + mozilla/tools/trace-malloc/ \ + mozilla/tools/jprof/ \ + mozilla/tools/codesighs/ \ + mozilla/other-licenses/branding/ \ + mozilla/other-licenses/7zstub/ \ + $(NULL) + ####################################################################### # Checkout Tags # @@ -319,11 +330,20 @@ ifneq (,$(filter-out $(AVAILABLE_PROJECTS),$(MOZ_PROJECT_LIST))) $(error MOZ_CO_PROJECT contains an unrecognized project.) endif +ifeq (all,$(filter all,$(MOZ_PROJECT_LIST))) + MOZ_PROJECT_LIST := $(AVAILABLE_PROJECTS) +endif + MOZ_MODULE_LIST := $(subst $(comma), ,$(MOZ_CO_MODULE)) $(foreach project,$(MOZ_PROJECT_LIST),$(MODULES_$(project))) LOCALE_DIRS := $(MOZ_LOCALE_DIRS) $(foreach project,$(MOZ_PROJECT_LIST),$(LOCALES_$(project))) MOZCONFIG_MODULES += $(foreach project,$(MOZ_PROJECT_LIST),$(BOOTSTRAP_$(project))) +# Using $(sort) here because it also removes duplicate entries. +MOZ_MODULE_LIST := $(sort $(MOZ_MODULE_LIST)) +LOCALE_DIRS := $(sort $(LOCALE_DIRS)) +MOZCONFIG_MODULES += $(sort $(MOZCONFIG_MODULES)) + # Change CVS flags if anonymous root is requested ifdef MOZ_CO_USE_MIRROR CVS_FLAGS := -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -- GitLab