tor-browser

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

moz.build (2096B)


      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 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
      8 
      9 MARIONETTE_MANIFESTS += ["tests/marionette/manifest.toml"]
     10 
     11 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.toml"]
     12 
     13 BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
     14 
     15 SPHINX_TREES["docs"] = "docs"
     16 
     17 JAR_MANIFESTS += ["jar.mn"]
     18 
     19 XPIDL_SOURCES += [
     20     "nsIEdgeMigrationUtils.idl",
     21 ]
     22 
     23 XPIDL_MODULE = "migration"
     24 
     25 EXTRA_JS_MODULES += [
     26     "ChromeMigrationUtils.sys.mjs",
     27     "ChromeProfileMigrator.sys.mjs",
     28     "FileMigrators.sys.mjs",
     29     "FirefoxProfileMigrator.sys.mjs",
     30     "InternalTestingProfileMigrator.sys.mjs",
     31     "MigrationUtils.sys.mjs",
     32     "MigratorBase.sys.mjs",
     33     "ProfileMigrator.sys.mjs",
     34 ]
     35 
     36 FINAL_TARGET_FILES.actors = [
     37     "MigrationWizardChild.sys.mjs",
     38     "MigrationWizardParent.sys.mjs",
     39 ]
     40 
     41 if CONFIG["OS_ARCH"] == "WINNT":
     42     TEST_DIRS += [
     43         "tests/unit/insertIEHistory",
     44     ]
     45     EXPORTS += [
     46         "nsEdgeMigrationUtils.h",
     47     ]
     48     UNIFIED_SOURCES += [
     49         "nsEdgeMigrationUtils.cpp",
     50         "nsIEHistoryEnumerator.cpp",
     51     ]
     52     EXTRA_JS_MODULES += [
     53         "360seMigrationUtils.sys.mjs",
     54         "ChromeWindowsLoginCrypto.sys.mjs",
     55         "EdgeProfileMigrator.sys.mjs",
     56         "ESEDBReader.sys.mjs",
     57         "IEProfileMigrator.sys.mjs",
     58         "MSMigrationUtils.sys.mjs",
     59     ]
     60 
     61 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
     62     EXPORTS += [
     63         "nsKeychainMigrationUtils.h",
     64     ]
     65     EXTRA_JS_MODULES += [
     66         "ChromeMacOSLoginCrypto.sys.mjs",
     67         "SafariProfileMigrator.sys.mjs",
     68     ]
     69     UNIFIED_SOURCES += [
     70         "nsKeychainMigrationUtils.mm",
     71     ]
     72     XPIDL_SOURCES += [
     73         "nsIKeychainMigrationUtils.idl",
     74     ]
     75 
     76 
     77 XPCOM_MANIFESTS += [
     78     "components.conf",
     79 ]
     80 
     81 FINAL_LIBRARY = "browsercomps"
     82 
     83 with Files("**"):
     84     BUG_COMPONENT = ("Firefox", "Migration")