Source code

Revision control

Other Tools

1
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2
# vim: set filetype=python:
3
# This Source Code Form is subject to the terms of the Mozilla Public
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
5
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
with Files("**"):
8
BUG_COMPONENT = ("Core", "Storage: localStorage & sessionStorage")
9
10
EXPORTS.mozilla.dom += [
11
'LocalStorage.h',
12
'LocalStorageManager.h',
13
'PartitionedLocalStorage.h',
14
'SessionStorageManager.h',
15
'Storage.h',
16
'StorageActivityService.h',
17
'StorageDBUpdater.h',
18
'StorageIPC.h',
19
'StorageNotifierService.h',
20
'StorageObserver.h',
21
'StorageUtils.h',
22
]
23
24
UNIFIED_SOURCES += [
25
'LocalStorage.cpp',
26
'LocalStorageCache.cpp',
27
'LocalStorageManager.cpp',
28
'PartitionedLocalStorage.cpp',
29
'SessionStorage.cpp',
30
'SessionStorageCache.cpp',
31
'SessionStorageManager.cpp',
32
'SessionStorageObserver.cpp',
33
'Storage.cpp',
34
'StorageActivityService.cpp',
35
'StorageDBThread.cpp',
36
'StorageDBUpdater.cpp',
37
'StorageIPC.cpp',
38
'StorageNotifierService.cpp',
39
'StorageObserver.cpp',
40
'StorageUtils.cpp',
41
]
42
43
IPDL_SOURCES += [
44
'PBackgroundLocalStorageCache.ipdl',
45
'PBackgroundStorage.ipdl',
46
'PSessionStorageObserver.ipdl',
47
]
48
49
include('/ipc/chromium/chromium-config.mozbuild')
50
51
FINAL_LIBRARY = 'xul'
52
LOCAL_INCLUDES += [
53
'/dom/base',
54
]
55
56
if CONFIG['ENABLE_TESTS']:
57
DEFINES['DOM_STORAGE_TESTS'] = True