# 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/.

DEPTH   = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH   = @srcdir@

include $(DEPTH)/config/autoconf.mk

include $(topsrcdir)/config/config.mk

TEST_DIRS += test

EXTRA_JS_MODULES = \
	BrowserNewTabPreloader.jsm \
	openLocationLastURL.jsm \
	NetworkPrioritizer.jsm \
	NewTabUtils.jsm \
	offlineAppCache.jsm \
	SignInToWebsite.jsm \
	TelemetryTimestamps.jsm \
	Social.jsm \
	webappsUI.jsm \
	$(NULL)

ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
EXTRA_JS_MODULES += \
	WindowsPreviewPerTab.jsm \
	WindowsJumpLists.jsm \
	$(NULL)
endif

include $(topsrcdir)/config/rules.mk
