tor-browser

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

moz.build (1343B)


      1 # vim: set filetype=python:
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 
      6 with Files("**"):
      7     BUG_COMPONENT = ("Core", "DOM: Push Subscriptions")
      8 
      9 EXTRA_COMPONENTS += [
     10     "Push.manifest",
     11 ]
     12 
     13 EXTRA_JS_MODULES += [
     14     "ChromePushSubscription.sys.mjs",
     15     "Push.sys.mjs",
     16     "PushBroadcastService.sys.mjs",
     17     "PushComponents.sys.mjs",
     18     "PushCrypto.sys.mjs",
     19     "PushDB.sys.mjs",
     20     "PushRecord.sys.mjs",
     21     "PushService.sys.mjs",
     22 ]
     23 
     24 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
     25     # Everything but GeckoView.
     26     EXTRA_JS_MODULES += [
     27         "PushServiceWebSocket.sys.mjs",
     28     ]
     29 
     30 XPCOM_MANIFESTS += [
     31     "components.conf",
     32 ]
     33 
     34 MOCHITEST_MANIFESTS += [
     35     "test/mochitest.toml",
     36 ]
     37 
     38 XPCSHELL_TESTS_MANIFESTS += [
     39     "test/xpcshell/xpcshell.toml",
     40 ]
     41 
     42 EXPORTS.mozilla.dom += [
     43     "PushManager.h",
     44     "PushNotifier.h",
     45     "PushSubscription.h",
     46     "PushSubscriptionOptions.h",
     47 ]
     48 
     49 UNIFIED_SOURCES += [
     50     "PushManager.cpp",
     51     "PushNotifier.cpp",
     52     "PushSubscription.cpp",
     53     "PushSubscriptionOptions.cpp",
     54 ]
     55 
     56 TEST_DIRS += ["test/xpcshell"]
     57 
     58 include("/ipc/chromium/chromium-config.mozbuild")
     59 
     60 LOCAL_INCLUDES += [
     61     "../base",
     62     "../ipc",
     63 ]
     64 
     65 FINAL_LIBRARY = "xul"