moz.build (1915B)
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 XPIDL_SOURCES += [ 11 "nsISessionStorageService.idl", 12 ] 13 14 XPIDL_MODULE = "dom_storage" 15 16 EXPORTS.mozilla.dom += [ 17 "BackgroundSessionStorageServiceParent.h", 18 "LocalStorage.h", 19 "LocalStorageManager.h", 20 "PartitionedLocalStorage.h", 21 "SessionStorageManager.h", 22 "SessionStorageService.h", 23 "Storage.h", 24 "StorageActivityService.h", 25 "StorageDBUpdater.h", 26 "StorageIPC.h", 27 "StorageNotifierService.h", 28 "StorageObserver.h", 29 "StorageUtils.h", 30 ] 31 32 XPCOM_MANIFESTS += [ 33 "components.conf", 34 ] 35 36 UNIFIED_SOURCES += [ 37 "BackgroundSessionStorageServiceParent.cpp", 38 "LocalStorage.cpp", 39 "LocalStorageCache.cpp", 40 "LocalStorageManager.cpp", 41 "PartitionedLocalStorage.cpp", 42 "SessionStorage.cpp", 43 "SessionStorageCache.cpp", 44 "SessionStorageManager.cpp", 45 "SessionStorageObserver.cpp", 46 "SessionStorageService.cpp", 47 "Storage.cpp", 48 "StorageActivityService.cpp", 49 "StorageDBThread.cpp", 50 "StorageDBUpdater.cpp", 51 "StorageIPC.cpp", 52 "StorageNotifierService.cpp", 53 "StorageObserver.cpp", 54 "StorageUtils.cpp", 55 ] 56 57 IPDL_SOURCES += [ 58 "PBackgroundLocalStorageCache.ipdl", 59 "PBackgroundSessionStorageCache.ipdl", 60 "PBackgroundSessionStorageManager.ipdl", 61 "PBackgroundSessionStorageService.ipdl", 62 "PBackgroundStorage.ipdl", 63 "PSessionStorageObserver.ipdl", 64 ] 65 66 include("/ipc/chromium/chromium-config.mozbuild") 67 68 FINAL_LIBRARY = "xul" 69 LOCAL_INCLUDES += [ 70 "/dom/base", 71 ] 72 73 if CONFIG["ENABLE_TESTS"]: 74 DEFINES["DOM_STORAGE_TESTS"] = True