Source code
Revision control
Copy as Markdown
Other Tools
# -*- 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
DEFINES["MOZ_APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
DEFINES["MOZ_APP_MAXVERSION"] = CONFIG["MOZ_APP_MAXVERSION"]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"] += [
"manifest.json",
"run.js",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["about-compat"] += [
"about-compat/aboutCompat.css",
"about-compat/aboutCompat.html",
"about-compat/aboutCompat.js",
"about-compat/AboutCompat.sys.mjs",
"about-compat/aboutPage.js",
"about-compat/aboutPage.json",
"about-compat/aboutPageProcessScript.js",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["data"] += [
"data/injections.js",
"data/shims.js",
"data/ua_overrides.js",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["experiment-apis"] += [
"experiment-apis/aboutConfigPrefs.js",
"experiment-apis/aboutConfigPrefs.json",
"experiment-apis/aboutConfigPrefsChild.js",
"experiment-apis/appConstants.js",
"experiment-apis/appConstants.json",
"experiment-apis/matchPatterns.js",
"experiment-apis/matchPatterns.json",
"experiment-apis/systemManufacturer.js",
"experiment-apis/systemManufacturer.json",
"experiment-apis/trackingProtection.js",
"experiment-apis/trackingProtection.json",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [
"injections/css/bug0000000-testbed-css-injection.css",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
"injections/js/bug0000000-testbed-js-injection.js",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["shims"] += [
"shims/addthis-angular.js",
"shims/adform.js",
"shims/adnexus-ast.js",
"shims/adnexus-prebid.js",
"shims/adsafeprotected-ima.js",
"shims/apstag.js",
"shims/blogger.js",
"shims/bloggerAccount.js",
"shims/bmauth.js",
"shims/branch.js",
"shims/chartbeat.js",
"shims/crave-ca.js",
"shims/criteo.js",
"shims/cxense.js",
"shims/doubleverify.js",
"shims/eluminate.js",
"shims/empty-script.js",
"shims/empty-shim.txt",
"shims/everest.js",
"shims/facebook-sdk.js",
"shims/facebook.svg",
"shims/fastclick.js",
"shims/figshare.js",
"shims/firebase.js",
"shims/google-ads.js",
"shims/google-analytics-and-tag-manager.js",
"shims/google-analytics-ecommerce-plugin.js",
"shims/google-analytics-legacy.js",
"shims/google-ima.js",
"shims/google-page-ad.js",
"shims/google-publisher-tags.js",
"shims/history.js",
"shims/iam.js",
"shims/iaspet.js",
"shims/instagram-embed.js",
"shims/instagram.js",
"shims/instagram.svg",
"shims/kinja.js",
"shims/live-test-shim.js",
"shims/maxmind-geoip.js",
"shims/microsoftLogin.js",
"shims/microsoftVirtualAssistant.js",
"shims/moat.js",
"shims/mochitest-shim-1.js",
"shims/mochitest-shim-2.js",
"shims/mochitest-shim-3.js",
"shims/nielsen.js",
"shims/optimizely.js",
"shims/play.svg",
"shims/rambler-authenticator.js",
"shims/rich-relevance.js",
"shims/salesforce.js",
"shims/spotify-embed.js",
"shims/tiktok-embed.js",
"shims/tiktok.svg",
"shims/tracking-pixel.png",
"shims/tsn-ca.js",
"shims/vast2.xml",
"shims/vast3.xml",
"shims/vidible.js",
"shims/vmad.xml",
"shims/webtrends.js",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["lib"] += [
"lib/about_compat_broker.js",
"lib/custom_functions.js",
"lib/injections.js",
"lib/intervention_helpers.js",
"lib/messaging_helper.js",
"lib/module_shim.js",
"lib/requestStorageAccess_helper.js",
"lib/shim_messaging_helper.js",
"lib/shims.js",
"lib/ua_helpers.js",
"lib/ua_overrides.js",
]
XPCOM_MANIFESTS += [
"components.conf",
]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
with Files("**"):
BUG_COMPONENT = ("Web Compatibility", "Tooling & Investigations")