67 lines
1.6 KiB
Python
67 lines
1.6 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Core", "Privacy: Anti-Tracking")
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIBounceTrackingMapEntry.idl",
|
|
"nsIBounceTrackingProtection.idl",
|
|
"nsIBTPRemoteExceptionList.idl",
|
|
]
|
|
|
|
XPIDL_MODULE = "toolkit_antitracking"
|
|
|
|
|
|
XPCOM_MANIFESTS += [
|
|
"components.conf",
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
"BTPRemoteExceptionList.sys.mjs",
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
"BounceTrackingAllowList.h",
|
|
"BounceTrackingMapEntry.h",
|
|
"BounceTrackingProtection.h",
|
|
"BounceTrackingProtectionStorage.h",
|
|
"BounceTrackingRecord.h",
|
|
"BounceTrackingState.h",
|
|
"BounceTrackingStateGlobal.h",
|
|
"BounceTrackingStorageObserver.h",
|
|
"ClearDataCallback.h",
|
|
"PromiseNativeWrapper.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"BounceTrackingAllowList.cpp",
|
|
"BounceTrackingMapEntry.cpp",
|
|
"BounceTrackingProtection.cpp",
|
|
"BounceTrackingProtectionStorage.cpp",
|
|
"BounceTrackingRecord.cpp",
|
|
"BounceTrackingState.cpp",
|
|
"BounceTrackingStateGlobal.cpp",
|
|
"BounceTrackingStorageObserver.cpp",
|
|
"ClearDataCallback.cpp",
|
|
"PromiseNativeWrapper.cpp",
|
|
]
|
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
LOCAL_INCLUDES += [
|
|
"/dom/base",
|
|
]
|
|
|
|
FINAL_LIBRARY = "xul"
|
|
|
|
BROWSER_CHROME_MANIFESTS += [
|
|
"test/browser/browser.toml",
|
|
]
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
|
|
|
|
MARIONETTE_MANIFESTS += ["test/marionette/manifest.toml"]
|