tor-browser

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

moz.build (4890B)


      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: Quota Manager")
      9 
     10 DIRS += ["test"]
     11 
     12 XPIDL_SOURCES += [
     13     "nsIQuotaArtificialFailure.idl",
     14     "nsIQuotaCallbacks.idl",
     15     "nsIQuotaManagerService.idl",
     16     "nsIQuotaManagerServiceInternal.idl",
     17     "nsIQuotaRequests.idl",
     18     "nsIQuotaResults.idl",
     19     "nsIQuotaUtilsService.idl",
     20 ]
     21 
     22 XPIDL_MODULE = "dom_quota"
     23 
     24 EXPORTS.mozilla += [
     25     "StorageOriginAttributes.h",
     26 ]
     27 
     28 EXPORTS.mozilla.dom += [
     29     "QMResult.h",
     30     "StorageManager.h",
     31 ]
     32 
     33 EXPORTS.mozilla.dom.quota += [
     34     "ActorsParent.h",
     35     "ArtificialFailure.h",
     36     "Assertions.h",
     37     "AssertionsImpl.h",
     38     "BackgroundThreadObject.h",
     39     "CachingDatabaseConnection.h",
     40     "CheckedUnsafePtr.h",
     41     "CipherKeyManager.h",
     42     "CipherStrategy.h",
     43     "Client.h",
     44     "ClientDirectoryLock.h",
     45     "ClientDirectoryLockHandle.h",
     46     "ClientImpl.h",
     47     "ClientStorageScope.h",
     48     "ClientUsageArray.h",
     49     "CommonMetadata.h",
     50     "CommonMetadataArray.h",
     51     "CommonMetadataArrayFwd.h",
     52     "ConditionalCompilation.h",
     53     "Config.h",
     54     "Constants.h",
     55     "Date.h",
     56     "DecryptingInputStream.h",
     57     "DecryptingInputStream_impl.h",
     58     "DirectoryLock.h",
     59     "DirectoryLockCategory.h",
     60     "DirectoryLockImpl.h",
     61     "DirectoryLockInlines.h",
     62     "DirectoryMetadata.h",
     63     "DummyCipherStrategy.h",
     64     "EncryptedBlock.h",
     65     "EncryptingOutputStream.h",
     66     "EncryptingOutputStream_impl.h",
     67     "ErrorHandling.h",
     68     "FileStreams.h",
     69     "FileUtils.h",
     70     "FirstInitializationAttempts.h",
     71     "FirstInitializationAttemptsImpl.h",
     72     "ForwardDecls.h",
     73     "HashKeys.h",
     74     "InitializationTypes.h",
     75     "IPCStreamCipherStrategy.h",
     76     "MozPromiseUtils.h",
     77     "NotifyUtils.h",
     78     "NotifyUtilsCommon.h",
     79     "NSSCipherStrategy.h",
     80     "OpenClientDirectoryInfo.h",
     81     "OriginDirectoryLock.h",
     82     "OriginOperationCallbacks.h",
     83     "OriginScope.h",
     84     "PersistenceScope.h",
     85     "PersistenceType.h",
     86     "PrincipalUtils.h",
     87     "PromiseUtils.h",
     88     "QuotaCommon.h",
     89     "QuotaManager.h",
     90     "QuotaManagerImpl.h",
     91     "QuotaManagerService.h",
     92     "QuotaObject.h",
     93     "QuotaParent.h",
     94     "QuotaUsageRequestChild.h",
     95     "QuotaUsageRequestParent.h",
     96     "RemoteQuotaObjectChild.h",
     97     "RemoteQuotaObjectParent.h",
     98     "RemoteQuotaObjectParentTracker.h",
     99     "RemoveParen.h",
    100     "ResultExtensions.h",
    101     "ScopedLogExtraInfo.h",
    102     "SerializationHelpers.h",
    103     "StorageHelpers.h",
    104     "StreamUtils.h",
    105     "StringifyUtils.h",
    106     "TargetPtrHolder.h",
    107     "ThreadUtils.h",
    108     "UniversalDirectoryLock.h",
    109     "UsageInfo.h",
    110 ]
    111 
    112 XPCOM_MANIFESTS += [
    113     "components.conf",
    114 ]
    115 
    116 UNIFIED_SOURCES += [
    117     "ActorsChild.cpp",
    118     "ActorsParent.cpp",
    119     "ArtificialFailure.cpp",
    120     "Assertions.cpp",
    121     "BackgroundThreadObject.cpp",
    122     "CachingDatabaseConnection.cpp",
    123     "CanonicalQuotaObject.cpp",
    124     "Client.cpp",
    125     "ClientDirectoryLock.cpp",
    126     "ClientDirectoryLockHandle.cpp",
    127     "ClientUsageArray.cpp",
    128     "DecryptingInputStream.cpp",
    129     "DirectoryLockImpl.cpp",
    130     "DirectoryMetadata.cpp",
    131     "EncryptingOutputStream.cpp",
    132     "FileStreams.cpp",
    133     "FileUtils.cpp",
    134     "GroupInfo.cpp",
    135     "GroupInfoPair.cpp",
    136     "InitializationTypes.cpp",
    137     "NormalOriginOperationBase.cpp",
    138     "NotifyUtils.cpp",
    139     "NotifyUtilsCommon.cpp",
    140     "nsIndexedDBProtocolHandler.cpp",
    141     "NSSCipherStrategy.cpp",
    142     "OpenClientDirectoryInfo.cpp",
    143     "OriginDirectoryLock.cpp",
    144     "OriginInfo.cpp",
    145     "OriginOperationBase.cpp",
    146     "OriginOperations.cpp",
    147     "OriginParser.cpp",
    148     "PersistenceScope.cpp",
    149     "PersistenceType.cpp",
    150     "PrincipalUtils.cpp",
    151     "PromiseUtils.cpp",
    152     "QMResult.cpp",
    153     "QuotaCommon.cpp",
    154     "QuotaManagerService.cpp",
    155     "QuotaObject.cpp",
    156     "QuotaParent.cpp",
    157     "QuotaPrefs.cpp",
    158     "QuotaRequestBase.cpp",
    159     "QuotaRequests.cpp",
    160     "QuotaResults.cpp",
    161     "QuotaUsageRequestChild.cpp",
    162     "QuotaUsageRequestParent.cpp",
    163     "RemoteQuotaObject.cpp",
    164     "RemoteQuotaObjectChild.cpp",
    165     "RemoteQuotaObjectParent.cpp",
    166     "SanitizationUtils.cpp",
    167     "ScopedLogExtraInfo.cpp",
    168     "StorageHelpers.cpp",
    169     "StorageManager.cpp",
    170     "StorageOriginAttributes.cpp",
    171     "StreamUtils.cpp",
    172     "StringifyUtils.cpp",
    173     "ThreadUtils.cpp",
    174     "UniversalDirectoryLock.cpp",
    175 ]
    176 
    177 IPDL_SOURCES += [
    178     "IPCQuotaObject.ipdlh",
    179     "PQuota.ipdl",
    180     "PQuotaRequest.ipdl",
    181     "PQuotaUsageRequest.ipdl",
    182     "PRemoteQuotaObject.ipdl",
    183 ]
    184 
    185 EXTRA_JS_MODULES += [
    186     "QuotaUtilsService.sys.mjs",
    187 ]
    188 
    189 include("/ipc/chromium/chromium-config.mozbuild")
    190 
    191 FINAL_LIBRARY = "xul"
    192 
    193 LOCAL_INCLUDES += [
    194     "/caps",
    195     "/dom/fs/include",
    196 ]