# -*- 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 = ("Web Compatibility", "Tooling & Investigations") XPI_NAME = "webcompat" XPI_PKGNAME = "webcompat@mozilla.org" DIST_SUBDIR = "" # NOTE: Please keep the files listed in here in sync with the ones listed in # ../jar.mn, as this ensures that the XPI generated at build time # shares the same structure as the built-in instance. (bug 1955994) FINAL_TARGET_FILES += [ "../manifest.json", ] GeneratedFile( "run.js", script="../codegen.py", entry_point="generate_run_js", flags=[ TOPSRCDIR + "/browser/extensions/webcompat/run.js", TOPSRCDIR + "/browser/extensions/webcompat/data/interventions", ], ) FINAL_TARGET_FILES += ["!run.js"] FINAL_TARGET_FILES["about-compat"] += [ "../about-compat/**", ] FINAL_TARGET_FILES.data += [ "../data/**", ] FINAL_TARGET_FILES["experiment-apis"] += [ "../experiment-apis/**", ] FINAL_TARGET_FILES.injections += [ "../injections/**", ] FINAL_TARGET_FILES.lib += [ "../lib/**", ] FINAL_TARGET_FILES.shims += [ "../shims/**", ]