Bug 1692840 - Add "Open a New Tab" at the top of the tabstrip context menu. r=Gijs
[gecko.git] / browser / moz.build
blob7b5566ac5de77957a05a273ff9c837121b9a7118
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 if CONFIG["MOZ_BACKGROUNDTASKS"]:
51     DEFINES["MOZ_BACKGROUNDTASKS"] = True
53 if CONFIG["MOZ_UPDATE_AGENT"]:
54     DEFINES["MOZ_UPDATE_AGENT"] = True
56 # These files are specified in this moz.build to pick up DIST_SUBDIR as set in
57 # this directory, which is un-set in browser/app.
58 JS_PREFERENCE_PP_FILES += [
59     "app/profile/firefox.js",
61 FINAL_TARGET_FILES.defaults += ["app/permissions"]
63 with Files("**"):
64     BUG_COMPONENT = ("Firefox", "General")
65     SCHEDULES.exclusive = ["linux", "macosx", "windows"]
67 with Files("docs/**"):
68     SCHEDULES.exclusive = ["docs"]
70 with Files("Makefile.in"):
71     BUG_COMPONENT = ("Firefox Build System", "General")
73 with Files("*.mk"):
74     BUG_COMPONENT = ("Firefox Build System", "General")
76 with Files("**/moz.build"):
77     BUG_COMPONENT = ("Firefox Build System", "General")
79 with Files("moz.configure"):
80     BUG_COMPONENT = ("Firefox Build System", "General")
82 with Files("app.mozbuild"):
83     BUG_COMPONENT = ("Firefox Build System", "General")
85 with Files("moz.build"):
86     BUG_COMPONENT = ("Firefox Build System", "General")
88 with Files("confvars.sh"):
89     BUG_COMPONENT = ("Firefox Build System", "General")
91 with Files("LICENSE"):
92     BUG_COMPONENT = ("Firefox Build System", "General")
94 with Files("branding/**"):
95     BUG_COMPONENT = ("Firefox", "General")
97 with Files("config/**"):
98     BUG_COMPONENT = ("Firefox Build System", "General")
100 with Files("docs/**"):
101     BUG_COMPONENT = ("Toolkit", "Telemetry")
103 with Files("fonts/**"):
104     BUG_COMPONENT = ("Core", "Graphics: Text")
106 with Files("installer/**"):
107     BUG_COMPONENT = ("Firefox", "Installer")
109 with Files("tools/**"):
110     BUG_COMPONENT = ("Firefox", "General")
112 with Files("l10n-registry.manifest"):
113     BUG_COMPONENT = ("Core", "Localization")