moz.build (1052B)
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 TEST_DIRS += ["test"] 8 9 TESTING_JS_MODULES += [ 10 "test/PermissionTestUtils.sys.mjs", 11 ] 12 13 EXPORTS.mozilla += [ 14 "Permission.h", 15 "PermissionDelegateHandler.h", 16 "PermissionDelegateIPCUtils.h", 17 "PermissionManager.h", 18 ] 19 20 UNIFIED_SOURCES += [ 21 "Permission.cpp", 22 "PermissionDelegateHandler.cpp", 23 "PermissionManager.cpp", 24 ] 25 26 XPCOM_MANIFESTS += [ 27 "components.conf", 28 ] 29 30 XPIDL_MODULE = "permissions" 31 32 XPIDL_SOURCES += [ 33 "nsIRemotePermissionService.idl", 34 ] 35 36 EXTRA_JS_MODULES += [ 37 "RemotePermissionService.sys.mjs", 38 ] 39 40 LOCAL_INCLUDES += [ 41 "/caps", 42 ] 43 44 include("/ipc/chromium/chromium-config.mozbuild") 45 46 FINAL_LIBRARY = "xul" 47 48 with Files("**"): 49 BUG_COMPONENT = ("Core", "Permission Manager") 50 51 SPHINX_TREES["/permissions"] = "docs"