tor-browser

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

moz.build (1858B)


      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 EXPORTS += [
      8     "JSServices.h",
      9     "nsIXPConnect.h",
     10     "SystemGlobal.h",
     11     "XPCJSMemoryReporter.h",
     12     "xpcObjectHelper.h",
     13     "xpcpublic.h",
     14     "XPCSelfHostedShmem.h",
     15 ]
     16 
     17 UNIFIED_SOURCES += [
     18     "ExecutionTracerIntegration.cpp",
     19     "ExportHelpers.cpp",
     20     "JSServices.cpp",
     21     "nsXPConnect.cpp",
     22     "Sandbox.cpp",
     23     "XPCCallContext.cpp",
     24     "XPCComponents.cpp",
     25     "XPCConvert.cpp",
     26     "XPCDebug.cpp",
     27     "XPCException.cpp",
     28     "XPCJSContext.cpp",
     29     "XPCJSID.cpp",
     30     "XPCJSRuntime.cpp",
     31     "XPCJSWeakReference.cpp",
     32     "XPCLocale.cpp",
     33     "XPCLog.cpp",
     34     "XPCMaps.cpp",
     35     "XPCModule.cpp",
     36     "XPCRuntimeService.cpp",
     37     "XPCSelfHostedShmem.cpp",
     38     "XPCShellImpl.cpp",
     39     "XPCString.cpp",
     40     "XPCThrower.cpp",
     41     "XPCVariant.cpp",
     42     "XPCWrappedJS.cpp",
     43     "XPCWrappedJSClass.cpp",
     44     "XPCWrappedJSIterator.cpp",
     45     "XPCWrappedNative.cpp",
     46     "XPCWrappedNativeInfo.cpp",
     47     "XPCWrappedNativeJSOps.cpp",
     48     "XPCWrappedNativeProto.cpp",
     49     "XPCWrappedNativeScope.cpp",
     50     "XPCWrapper.cpp",
     51 ]
     52 
     53 
     54 if CONFIG["FUZZING_INTERFACES"]:
     55     UNIFIED_SOURCES += ["xpcrtfuzzing/xpcrtfuzzing.cpp"]
     56 
     57 XPCOM_MANIFESTS += [
     58     "components.conf",
     59 ]
     60 
     61 include("/ipc/chromium/chromium-config.mozbuild")
     62 
     63 FINAL_LIBRARY = "xul"
     64 
     65 LOCAL_INCLUDES += [
     66     "!/xpcom/components",
     67     "../loader",
     68     "../wrappers",
     69     "/caps",
     70     "/dom/base",
     71     "/dom/bindings",
     72     "/dom/html",
     73     "/layout/base",
     74     "/layout/style",
     75     "/netwerk/base",
     76     "/xpcom/components",
     77 ]
     78 
     79 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
     80     CXXFLAGS += ["-Werror=format"]