moz.build (1463B)
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 if CONFIG["MOZ_DEVTOOLS"] == "all": 8 DIRS += [ 9 "client", 10 ] 11 12 # `platform` contains all native components 13 DIRS += [ 14 "platform", 15 "server", 16 "shared", 17 "startup", 18 ] 19 20 # /browser uses DIST_SUBDIR. We opt-in to this treatment when building 21 # DevTools for the browser to keep the root omni.ja slim for use by external XUL 22 # apps. 23 if CONFIG["MOZ_BUILD_APP"] == "browser": 24 DIST_SUBDIR = "browser" 25 export("DIST_SUBDIR") 26 27 with Files("**"): 28 BUG_COMPONENT = ("DevTools", "General") 29 SCHEDULES.exclusive = ["linux", "macosx", "windows"] 30 31 with Files("docs/**"): 32 BUG_COMPONENT = ("DevTools", "General") 33 34 with Files("docs/tools/memory-panel.md"): 35 BUG_COMPONENT = ("DevTools", "Memory") 36 37 with Files("docs/tools/debugger-panel.md"): 38 BUG_COMPONENT = ("DevTools", "Debugger") 39 40 with Files("docs/backend/debugger-api.md"): 41 BUG_COMPONENT = ("DevTools", "Debugger") 42 43 with Files("docs/tools/console-panel.md"): 44 BUG_COMPONENT = ("DevTools", "Console") 45 46 with Files("docs/tools/inspector-panel.md"): 47 BUG_COMPONENT = ("DevTools", "Inspector") 48 49 SPHINX_TREES["/devtools"] = "docs/contributor" 50 SPHINX_TREES["/devtools-user"] = "docs/user"