moz.build (1938B)
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 toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"] 8 9 if toolkit == "gtk": 10 DIRS += ["atk"] 11 elif toolkit == "windows": 12 DIRS += ["windows"] 13 elif toolkit == "cocoa": 14 DIRS += ["mac"] 15 elif toolkit == "android": 16 DIRS += ["android"] 17 elif toolkit == "uikit": 18 DIRS += ["ios"] 19 else: 20 DIRS += ["other"] 21 22 DIRS += [ 23 "aom", 24 "base", 25 "basetypes", 26 "generic", 27 "html", 28 "interfaces", 29 "ipc", 30 "xpcom", 31 "xul", 32 ] 33 34 TEST_DIRS += ["tests/mochitest"] 35 36 BROWSER_CHROME_MANIFESTS += [ 37 "tests/browser/atk/browser.toml", 38 "tests/browser/bounds/browser.toml", 39 "tests/browser/browser.toml", 40 "tests/browser/caching_granularity/browser.toml", 41 "tests/browser/e10s/browser.toml", 42 "tests/browser/events/browser.toml", 43 "tests/browser/fission/browser.toml", 44 "tests/browser/general/browser.toml", 45 "tests/browser/hittest/browser.toml", 46 "tests/browser/mac/browser.toml", 47 "tests/browser/name_and_description/browser.toml", 48 "tests/browser/performance/perftest.toml", 49 "tests/browser/pivot/browser.toml", 50 "tests/browser/relations/browser.toml", 51 "tests/browser/role/browser.toml", 52 "tests/browser/scroll/browser.toml", 53 "tests/browser/selectable/browser.toml", 54 "tests/browser/states/browser.toml", 55 "tests/browser/telemetry/browser.toml", 56 "tests/browser/text/browser.toml", 57 "tests/browser/tree/browser.toml", 58 "tests/browser/windows/ia2/browser.toml", 59 "tests/browser/windows/uia/browser.toml", 60 ] 61 62 with Files("**"): 63 BUG_COMPONENT = ("Core", "Disability Access APIs") 64 65 SPHINX_TREES["/accessible"] = "docs" 66 67 with Files("docs/**"): 68 SCHEDULES.exclusive = ["docs"]