tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (1781B)


      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 MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
     11 
     12 BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
     13 
     14 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
     15 
     16 TEST_HARNESS_FILES.xpcshell.dom.localstorage.test.unit += [
     17     "test/unit/databaseShadowing-shared.js",
     18 ]
     19 
     20 TEST_DIRS += ["test"]
     21 
     22 XPIDL_SOURCES += [
     23     "nsILocalStorageManager.idl",
     24 ]
     25 
     26 XPIDL_MODULE = "dom_localstorage"
     27 
     28 EXPORTS.mozilla.dom.localstorage += [
     29     "ActorsParent.h",
     30     "SerializationHelpers.h",
     31 ]
     32 
     33 EXPORTS.mozilla.dom += [
     34     "LocalStorageCommon.h",
     35     "LocalStorageManager2.h",
     36     "LSObject.h",
     37     "LSObserver.h",
     38     "LSSnapshot.h",
     39     "LSValue.h",
     40     "LSWriteOptimizer.h",
     41     "LSWriteOptimizerImpl.h",
     42     "SnappyUtils.h",
     43 ]
     44 
     45 UNIFIED_SOURCES += [
     46     "ActorsChild.cpp",
     47     "ActorsParent.cpp",
     48     "LocalStorageCommon.cpp",
     49     "LocalStorageManager2.cpp",
     50     "LSDatabase.cpp",
     51     "LSObject.cpp",
     52     "LSObserver.cpp",
     53     "LSSnapshot.cpp",
     54     "LSValue.cpp",
     55     "LSWriteOptimizer.cpp",
     56     "NotifyUtils.cpp",
     57     "ReportInternalError.cpp",
     58     "SnappyUtils.cpp",
     59 ]
     60 
     61 IPDL_SOURCES += [
     62     "PBackgroundLSDatabase.ipdl",
     63     "PBackgroundLSObserver.ipdl",
     64     "PBackgroundLSRequest.ipdl",
     65     "PBackgroundLSSharedTypes.ipdlh",
     66     "PBackgroundLSSimpleRequest.ipdl",
     67     "PBackgroundLSSnapshot.ipdl",
     68 ]
     69 
     70 include("/ipc/chromium/chromium-config.mozbuild")
     71 
     72 FINAL_LIBRARY = "xul"
     73 
     74 LOCAL_INCLUDES += [
     75     "/dom/file/ipc",
     76 ]