Bug 1688354 [wpt PR 27298] - Treat 'rem' as an absolute unit for font size, a=testonly
[gecko.git] / browser / moz.build
blobca88ad0a94f7339621e236d64776a3b306371aa4
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/.
7 CONFIGURE_SUBST_FILES += ["installer/Makefile"]
9 SPHINX_TREES["/browser"] = "docs"
11 EXTRA_COMPONENTS += [
12     "l10n-registry.manifest",
15 DIRS += [
16     "actors",
17     "base",
18     "components",
19     "fonts",
20     "fxr",
21     "locales",
22     "modules",
23     "themes",
24     "extensions",
27 DIRS += [
28     "app",
31 if CONFIG["MAKENSISU"]:
32     DIRS += ["installer/windows"]
34 TEST_DIRS += [
35     "tools/mozscreenshots",
38 DIST_SUBDIR = "browser"
39 export("DIST_SUBDIR")
41 # These defines are read in firefox.js
42 DEFINES["APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
44 for cdm in CONFIG["MOZ_EME_MODULES"]:
45     DEFINES["MOZ_%s_EME" % cdm.upper()] = True
47 if CONFIG["MOZ_GPSD"]:
48     DEFINES["MOZ_GPSD"] = True
50 # These files are specified in this moz.build to pick up DIST_SUBDIR as set in
51 # this directory, which is un-set in browser/app.
52 JS_PREFERENCE_PP_FILES += [
53     "app/profile/firefox.js",
55 FINAL_TARGET_FILES.defaults += ["app/permissions"]
57 with Files("**"):
58     BUG_COMPONENT = ("Firefox", "General")
59     SCHEDULES.exclusive = ["linux", "macosx", "windows"]
61 with Files("docs/**"):
62     SCHEDULES.exclusive = ["docs"]
64 with Files("Makefile.in"):
65     BUG_COMPONENT = ("Firefox Build System", "General")
67 with Files("*.mk"):
68     BUG_COMPONENT = ("Firefox Build System", "General")
70 with Files("**/moz.build"):
71     BUG_COMPONENT = ("Firefox Build System", "General")
73 with Files("moz.configure"):
74     BUG_COMPONENT = ("Firefox Build System", "General")
76 with Files("app.mozbuild"):
77     BUG_COMPONENT = ("Firefox Build System", "General")
79 with Files("moz.build"):
80     BUG_COMPONENT = ("Firefox Build System", "General")
82 with Files("confvars.sh"):
83     BUG_COMPONENT = ("Firefox Build System", "General")
85 with Files("LICENSE"):
86     BUG_COMPONENT = ("Firefox Build System", "General")
88 with Files("branding/**"):
89     BUG_COMPONENT = ("Firefox", "General")
91 with Files("config/**"):
92     BUG_COMPONENT = ("Firefox Build System", "General")
94 with Files("docs/**"):
95     BUG_COMPONENT = ("Toolkit", "Telemetry")
97 with Files("fonts/**"):
98     BUG_COMPONENT = ("Core", "Graphics: Text")
100 with Files("installer/**"):
101     BUG_COMPONENT = ("Firefox", "Installer")
103 with Files("tools/**"):
104     BUG_COMPONENT = ("Firefox", "General")
106 with Files("l10n-registry.manifest"):
107     BUG_COMPONENT = ("Core", "Localization")