2018-11-29 23:47:20 +03:00
|
|
|
# -*- 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/.
|
|
|
|
|
2019-03-15 17:01:58 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM: Web Storage")
|
|
|
|
|
2019-06-02 09:00:25 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
|
2019-05-17 11:30:19 +03:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
|
|
|
|
2018-11-29 23:48:34 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'test/unit/xpcshell.ini'
|
|
|
|
]
|
|
|
|
|
2018-11-29 23:49:58 +03:00
|
|
|
TEST_HARNESS_FILES.xpcshell.dom.localstorage.test.unit += [
|
|
|
|
'test/unit/databaseShadowing-shared.js',
|
|
|
|
]
|
|
|
|
|
2019-02-10 12:20:12 +03:00
|
|
|
TEST_DIRS += ['test/gtest']
|
|
|
|
|
2018-11-29 23:47:48 +03:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsILocalStorageManager.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom_localstorage'
|
|
|
|
|
2018-11-29 23:47:20 +03:00
|
|
|
EXPORTS.mozilla.dom.localstorage += [
|
|
|
|
'ActorsParent.h',
|
2018-11-29 23:49:10 +03:00
|
|
|
'SerializationHelpers.h',
|
2018-11-29 23:47:20 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'LocalStorageCommon.h',
|
|
|
|
'LocalStorageManager2.h',
|
|
|
|
'LSObject.h',
|
2018-11-29 23:47:45 +03:00
|
|
|
'LSObserver.h',
|
2018-11-29 23:49:10 +03:00
|
|
|
'LSSnapshot.h',
|
2019-04-29 07:05:56 +03:00
|
|
|
'LSValue.h',
|
2019-05-15 07:11:10 +03:00
|
|
|
'LSWriteOptimizer.h',
|
2019-04-29 07:10:42 +03:00
|
|
|
'SnappyUtils.h',
|
2018-11-29 23:47:20 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'ActorsChild.cpp',
|
|
|
|
'ActorsParent.cpp',
|
|
|
|
'LocalStorageCommon.cpp',
|
|
|
|
'LocalStorageManager2.cpp',
|
|
|
|
'LSDatabase.cpp',
|
|
|
|
'LSObject.cpp',
|
2018-11-29 23:47:45 +03:00
|
|
|
'LSObserver.cpp',
|
2018-11-29 23:48:47 +03:00
|
|
|
'LSSnapshot.cpp',
|
2019-04-29 07:05:56 +03:00
|
|
|
'LSValue.cpp',
|
2019-05-15 07:11:10 +03:00
|
|
|
'LSWriteOptimizer.cpp',
|
2018-11-29 23:47:27 +03:00
|
|
|
'ReportInternalError.cpp',
|
2019-04-29 07:10:42 +03:00
|
|
|
'SnappyUtils.cpp',
|
2018-11-29 23:47:20 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PBackgroundLSDatabase.ipdl',
|
2018-11-29 23:47:45 +03:00
|
|
|
'PBackgroundLSObserver.ipdl',
|
2018-11-29 23:47:20 +03:00
|
|
|
'PBackgroundLSRequest.ipdl',
|
|
|
|
'PBackgroundLSSharedTypes.ipdlh',
|
2018-11-29 23:48:15 +03:00
|
|
|
'PBackgroundLSSimpleRequest.ipdl',
|
2018-11-29 23:48:47 +03:00
|
|
|
'PBackgroundLSSnapshot.ipdl',
|
2018-11-29 23:47:20 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/file/ipc',
|
|
|
|
]
|