# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# metrofx specific resources - this defines LOCALE_SRCDIR
relativesrcdir = browser/metro/locales

include $(topsrcdir)/config/config.mk

DEFINES += -DAB_CD=$(AB_CD)

include $(topsrcdir)/config/rules.mk

#########################################
# Branding

# 'browser/branding/nightly' -> 'nightly'
BRANDFOLDER = $(notdir $(MOZ_BRANDING_DIRECTORY))

branding-$(BRANDFOLDER):
	$(MAKE) -C $(DEPTH)/browser/branding/$(BRANDFOLDER) \
	  DIST_SUBDIR=$(DIST_SUBDIR) XPI_ROOT_APPID='$(XPI_ROOT_APPID)'

libs:: branding-$(BRANDFOLDER)
