tor-browser

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

moz.build (5327B)


      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 = ("Firefox", "General")
      9 
     10 with Files("FirefoxBridgeExtensionUtils.sys.mjs"):
     11     BUG_COMPONENT = ("Firefox", "Shell Integration")
     12 
     13 with Files("test/unit/test_FirefoxBridgeExtensionUtils.sys.mjs"):
     14     BUG_COMPONENT = ("Firefox", "Shell Integration")
     15 
     16 with Files("test/browser/*Telemetry*"):
     17     BUG_COMPONENT = ("Toolkit", "Telemetry")
     18 
     19 with Files("test/browser/*ContentSearch*"):
     20     BUG_COMPONENT = ("Firefox", "Search")
     21 
     22 with Files("test/browser/*PermissionUI*"):
     23     BUG_COMPONENT = ("Firefox", "Site Permissions")
     24 
     25 with Files("test/browser/*SitePermissions*"):
     26     BUG_COMPONENT = ("Firefox", "Site Permissions")
     27 
     28 with Files("test/browser/browser_UnsubmittedCrashHandler.js"):
     29     BUG_COMPONENT = ("Toolkit", "Crash Reporting")
     30 
     31 with Files("test/browser/browser_taskbar_preview.js"):
     32     BUG_COMPONENT = ("Firefox", "Shell Integration")
     33 
     34 with Files("test/browser/browser_urlBar_zoom.js"):
     35     BUG_COMPONENT = ("Firefox", "General")
     36 
     37 with Files("test/unit/test_E10SUtils_nested_URIs.js"):
     38     BUG_COMPONENT = ("Core", "Security: Process Sandboxing")
     39 
     40 with Files("test/unit/test_LaterRun.js"):
     41     BUG_COMPONENT = ("Firefox", "Tours")
     42 
     43 with Files("test/unit/test_SitePermissions.js"):
     44     BUG_COMPONENT = ("Firefox", "Site Permissions")
     45 
     46 with Files("AboutNewTab.sys.mjs"):
     47     BUG_COMPONENT = ("Firefox", "New Tab Page")
     48 
     49 with Files("BrowserWindowTracker.sys.mjs"):
     50     BUG_COMPONENT = ("Firefox", "General")
     51 
     52 with Files("BrowserUsageTelemetry.sys.mjs"):
     53     BUG_COMPONENT = ("Firefox", "General")
     54 
     55 with Files("ContentCrashHandlers.sys.mjs"):
     56     BUG_COMPONENT = ("Toolkit", "Crash Reporting")
     57 
     58 with Files("EveryWindow.sys.mjs"):
     59     BUG_COMPONENT = ("Firefox", "General")
     60 
     61 with Files("ExtensionsUI.sys.mjs"):
     62     BUG_COMPONENT = ("WebExtensions", "General")
     63 
     64 with Files("LaterRun.sys.mjs"):
     65     BUG_COMPONENT = ("Firefox", "Tours")
     66 
     67 with Files("PartnerLinkAttribution.sys.mjs"):
     68     BUG_COMPONENT = ("Firefox", "Search")
     69 
     70 with Files("PermissionUI.sys.mjs"):
     71     BUG_COMPONENT = ("Firefox", "Site Permissions")
     72 
     73 with Files("ProcessHangMonitor.sys.mjs"):
     74     BUG_COMPONENT = ("Core", "DOM: Content Processes")
     75 
     76 with Files("Sanitizer.sys.mjs"):
     77     BUG_COMPONENT = ("Toolkit", "Data Sanitization")
     78 
     79 with Files("SelectionChangedMenulist.sys.mjs"):
     80     BUG_COMPONENT = ("Firefox", "Settings UI")
     81 
     82 with Files("SiteDataManager.sys.mjs"):
     83     BUG_COMPONENT = ("Firefox", "Settings UI")
     84 
     85 with Files("SitePermissions.sys.mjs"):
     86     BUG_COMPONENT = ("Firefox", "Site Permissions")
     87 
     88 with Files("TransientPrefs.sys.mjs"):
     89     BUG_COMPONENT = ("Firefox", "Settings UI")
     90 
     91 with Files("FilePickerCrashed.sys.mjs"):
     92     BUG_COMPONENT = ("Core", "Widget: Win32")
     93     SCHEDULES.exclusive = ["windows"]
     94 
     95 with Files("WindowsJumpLists.sys.mjs"):
     96     BUG_COMPONENT = ("Firefox", "Shell Integration")
     97     SCHEDULES.exclusive = ["windows"]
     98 
     99 with Files("WindowsPreviewPerTab.sys.mjs"):
    100     BUG_COMPONENT = ("Core", "Widget: Win32")
    101     SCHEDULES.exclusive = ["windows"]
    102 
    103 with Files("webrtcUI.sys.mjs"):
    104     BUG_COMPONENT = ("Firefox", "Site Permissions")
    105 
    106 with Files("ZoomUI.sys.mjs"):
    107     BUG_COMPONENT = ("Firefox", "Toolbars and Customization")
    108 
    109 BROWSER_CHROME_MANIFESTS += [
    110     "test/browser/browser.toml",
    111     "test/browser/browserSidebarRevamp.toml",
    112     "test/browser/formValidation/browser.toml",
    113 ]
    114 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
    115 
    116 EXTRA_JS_MODULES += [
    117     "AboutNewTab.sys.mjs",
    118     "BrowserDOMWindow.sys.mjs",
    119     "BrowserUIUtils.sys.mjs",
    120     "BrowserUsageTelemetry.sys.mjs",
    121     "BrowserWindowTracker.sys.mjs",
    122     "ContentCrashHandlers.sys.mjs",
    123     "Dedupe.sys.mjs",
    124     "Discovery.sys.mjs",
    125     "EveryWindow.sys.mjs",
    126     "ExtensionsUI.sys.mjs",
    127     "FaviconLoader.sys.mjs",
    128     "FilterAdult.sys.mjs",
    129     "FirefoxBridgeExtensionUtils.sys.mjs",
    130     "HomePage.sys.mjs",
    131     "LaterRun.sys.mjs",
    132     "LinksCache.sys.mjs",
    133     "PageActions.sys.mjs",
    134     "PartnerLinkAttribution.sys.mjs",
    135     "PermissionUI.sys.mjs",
    136     "PopupAndRedirectBlockerObserver.sys.mjs",
    137     "ProcessHangMonitor.sys.mjs",
    138     "Sanitizer.sys.mjs",
    139     "SelectionChangedMenulist.sys.mjs",
    140     "SharingUtils.sys.mjs",
    141     "SiteDataManager.sys.mjs",
    142     "SitePermissions.sys.mjs",
    143     "TorUIUtils.sys.mjs",
    144     "TransientPrefs.sys.mjs",
    145     "URILoadingHelper.sys.mjs",
    146     "webrtcUI.sys.mjs",
    147     "ZoomUI.sys.mjs",
    148 ]
    149 
    150 MOZ_SRC_FILES += [
    151     "CanvasPermissionPromptHelper.sys.mjs",
    152     "ClipboardPrivacy.sys.mjs",
    153     "ContextId.sys.mjs",
    154     "FaviconUtils.sys.mjs",
    155     "ObserverForwarder.sys.mjs",
    156     "PrivateBrowsingUI.sys.mjs",
    157     "SecurityLevelNotification.sys.mjs",
    158     "TorSettingsNotification.sys.mjs",
    159     "UnexpectedScriptObserver.sys.mjs",
    160     "WebAuthnPromptHelper.sys.mjs",
    161 ]
    162 
    163 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
    164     EXTRA_JS_MODULES += [
    165         "FilePickerCrashed.sys.mjs",
    166         "WindowsJumpLists.sys.mjs",
    167         "WindowsPreviewPerTab.sys.mjs",
    168     ]
    169 
    170     EXTRA_JS_MODULES.backgroundtasks += [
    171         "BackgroundTask_install.sys.mjs",
    172         "BackgroundTask_uninstall.sys.mjs",
    173     ]