summaryrefslogtreecommitdiffstats
path: root/dom/storage/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'dom/storage/moz.build')
-rw-r--r--dom/storage/moz.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/dom/storage/moz.build b/dom/storage/moz.build
new file mode 100644
index 000000000..47c2fb85f
--- /dev/null
+++ b/dom/storage/moz.build
@@ -0,0 +1,34 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+EXPORTS.mozilla.dom += [
+ 'DOMStorage.h',
+ 'DOMStorageIPC.h',
+]
+
+UNIFIED_SOURCES += [
+ 'DOMStorage.cpp',
+ 'DOMStorageCache.cpp',
+ 'DOMStorageDBThread.cpp',
+ 'DOMStorageDBUpdater.cpp',
+ 'DOMStorageIPC.cpp',
+ 'DOMStorageManager.cpp',
+ 'DOMStorageObserver.cpp',
+]
+
+IPDL_SOURCES += [
+ 'PStorage.ipdl',
+]
+
+include('/ipc/chromium/chromium-config.mozbuild')
+
+FINAL_LIBRARY = 'xul'
+LOCAL_INCLUDES += [
+ '/dom/base',
+]
+
+if CONFIG['ENABLE_TESTS']:
+ DEFINES['DOM_STORAGE_TESTS'] = True