moz.build (1283B)
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 XPI_NAME = "specialpowers" 8 XPI_PKGNAME = "specialpowers@mozilla.org" 9 10 USE_EXTENSION_MANIFEST = True 11 12 FINAL_TARGET_FILES += [ 13 "api.js", 14 "manifest.json", 15 "schema.json", 16 ] 17 18 FINAL_TARGET_FILES.content += [ 19 "content/AppTestDelegate.sys.mjs", 20 "content/AppTestDelegateChild.sys.mjs", 21 "content/AppTestDelegateParent.sys.mjs", 22 ] 23 24 modules = [ 25 "content/ContentTaskUtils.sys.mjs", 26 "content/MockColorPicker.sys.mjs", 27 "content/MockFilePicker.sys.mjs", 28 "content/MockPermissionPrompt.sys.mjs", 29 "content/MockPromptCollection.sys.mjs", 30 "content/MockSound.sys.mjs", 31 "content/SpecialPowersChild.sys.mjs", 32 "content/SpecialPowersEventUtils.sys.mjs", 33 "content/SpecialPowersParent.sys.mjs", 34 "content/SpecialPowersProcessActor.sys.mjs", 35 "content/SpecialPowersSandbox.sys.mjs", 36 "content/WrapPrivileged.sys.mjs", 37 ] 38 39 TESTING_JS_MODULES += modules 40 41 FINAL_TARGET_FILES.modules += modules 42 43 with Files("**"): 44 BUG_COMPONENT = ("Testing", "Mochitest")