# 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)        \
  $(NULL)

include $(DEPTH)/config/autoconf.mk

MODULE         = dom
LIBRARY_NAME   = jsdomsettings_s
LIBXUL_LIBRARY = 1

EXTRA_COMPONENTS =         \
  SettingsManager.js       \
  SettingsManager.manifest \
  SettingsService.js \
  SettingsService.manifest \
  $(NULL)

EXTRA_JS_MODULES =   \
  SettingsQueue.jsm  \
  SettingsDB.jsm     \
  SettingsChangeNotifier.jsm \
  $(NULL)

TEST_DIRS += tests

# Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
# subdirectory (and the ipc one).
# LOCAL_INCLUDES += $(VPATH:%=-I%)

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk

DEFINES += -D_IMPL_NS_LAYOUT
