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
'SessionStorageService.cpp',
34
'Storage.cpp',
35
'StorageActivityService.cpp',
36
'StorageDBThread.cpp',
37
'StorageDBUpdater.cpp',
38
'StorageIPC.cpp',
39
'StorageNotifierService.cpp',
40
'StorageObserver.cpp',
41
'StorageUtils.cpp',
42
]
43
44
IPDL_SOURCES += [
45
'PBackgroundLocalStorageCache.ipdl',
46
'PBackgroundStorage.ipdl',
47
'PSessionStorageObserver.ipdl',
48
]
49
50
include('/ipc/chromium/chromium-config.mozbuild')
51
52
FINAL_LIBRARY = 'xul'
53
LOCAL_INCLUDES += [
54
'/dom/base',
55
]
56
57
if CONFIG['ENABLE_TESTS']:
58
DEFINES['DOM_STORAGE_TESTS'] = True