2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00:00
|
|
|
# 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/.
|
|
|
|
|
2017-02-06 14:45:55 +00:00
|
|
|
with Files("**"):
|
2018-08-15 09:22:45 +00:00
|
|
|
BUG_COMPONENT = ("Core", "DOM: Web Storage")
|
2017-02-06 14:45:55 +00:00
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.dom += [
|
2017-05-17 05:01:14 +00:00
|
|
|
'LocalStorage.h',
|
2017-05-17 05:01:14 +00:00
|
|
|
'LocalStorageManager.h',
|
2017-05-17 05:01:14 +00:00
|
|
|
'SessionStorageManager.h',
|
2017-01-04 13:53:01 +00:00
|
|
|
'Storage.h',
|
2018-04-18 16:19:10 +00:00
|
|
|
'StorageActivityService.h',
|
2017-01-04 13:53:01 +00:00
|
|
|
'StorageIPC.h',
|
2017-07-06 17:35:33 +00:00
|
|
|
'StorageNotifierService.h',
|
2017-07-26 13:55:51 +00:00
|
|
|
'StorageUtils.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-26 16:38:52 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2017-05-17 05:01:13 +00:00
|
|
|
'LocalStorage.cpp',
|
2017-05-17 05:01:14 +00:00
|
|
|
'LocalStorageCache.cpp',
|
2017-05-17 05:01:14 +00:00
|
|
|
'LocalStorageManager.cpp',
|
2017-05-17 05:01:12 +00:00
|
|
|
'SessionStorage.cpp',
|
2017-05-17 05:01:14 +00:00
|
|
|
'SessionStorageCache.cpp',
|
2017-05-17 05:01:14 +00:00
|
|
|
'SessionStorageManager.cpp',
|
2017-01-04 13:53:01 +00:00
|
|
|
'Storage.cpp',
|
2018-04-18 16:19:10 +00:00
|
|
|
'StorageActivityService.cpp',
|
2017-01-04 13:53:01 +00:00
|
|
|
'StorageDBThread.cpp',
|
|
|
|
'StorageDBUpdater.cpp',
|
|
|
|
'StorageIPC.cpp',
|
2017-07-06 17:35:33 +00:00
|
|
|
'StorageNotifierService.cpp',
|
2017-01-04 13:53:01 +00:00
|
|
|
'StorageObserver.cpp',
|
2017-05-17 05:01:14 +00:00
|
|
|
'StorageUtils.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-07-01 13:56:28 +00:00
|
|
|
IPDL_SOURCES += [
|
2018-07-14 06:34:14 +00:00
|
|
|
'PBackgroundLocalStorageCache.ipdl',
|
2017-08-08 20:56:49 +00:00
|
|
|
'PBackgroundStorage.ipdl',
|
2013-07-01 13:56:28 +00:00
|
|
|
]
|
2013-08-22 06:55:59 +00:00
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DEFINES['DOM_STORAGE_TESTS'] = True
|
2018-07-31 13:10:07 +00:00
|
|
|
|
|
|
|
if CONFIG['CC_TYPE'] == 'clang-cl':
|
|
|
|
AllowCompilerWarnings() # workaround for bug 1090497
|