# -*- 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/. JAR_MANIFESTS += ["jar.mn"] DIRS += ["xpi-build"] GeneratedFile( "run.js", script="codegen.py", entry_point="generate_run_js", flags=[ TOPSRCDIR + "/browser/extensions/webcompat/run.js", TOPSRCDIR + "/browser/extensions/webcompat/data/interventions", ], ) # We use FINAL_TARGET_FILES.chrome in this way so that Gradle has access # to the generated files and can copy them to where they belong in its build. # (See mobile/android/android-components/components/feature/webcompat/build.gradle) FINAL_TARGET_FILES.chrome.browser["builtin-addons"].webcompat += ["!run.js"] XPCOM_MANIFESTS += [ "components.conf", ] BROWSER_CHROME_MANIFESTS += [ "tests/browser/browser.toml", "tests/browser/browser_uuid_migration.toml", ] MARIONETTE_MANIFESTS += ["tests/marionette/manifest.toml"] with Files("**"): BUG_COMPONENT = ("Web Compatibility", "Tooling & Investigations")