moz.build (1123B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Web Compatibility", "Tooling & Investigations") 9 10 XPI_NAME = "webcompat" 11 XPI_PKGNAME = "webcompat@mozilla.org" 12 13 DIST_SUBDIR = "" 14 15 # NOTE: Please keep the files listed in here in sync with the ones listed in 16 # ../jar.mn, as this ensures that the XPI generated at build time 17 # shares the same structure as the built-in instance. (bug 1955994) 18 19 FINAL_TARGET_FILES += [ 20 "../manifest.json", 21 ] 22 23 FINAL_TARGET_PP_FILES += [ 24 "../run.js", 25 ] 26 27 FINAL_TARGET_FILES["about-compat"] += [ 28 "../about-compat/**", 29 ] 30 31 FINAL_TARGET_FILES.data += [ 32 "../data/**", 33 ] 34 35 FINAL_TARGET_FILES["experiment-apis"] += [ 36 "../experiment-apis/**", 37 ] 38 39 FINAL_TARGET_FILES.injections += [ 40 "../injections/**", 41 ] 42 43 FINAL_TARGET_FILES.lib += [ 44 "../lib/**", 45 ] 46 47 FINAL_TARGET_FILES.shims += [ 48 "../shims/**", 49 ]