Bug 1890277: part 1) Add CSP parser tests for `require-trusted-types-for`. r=tschuster
[gecko.git] / browser / moz.build
blob7d8b991e4605b4283a80e143e842772d473b62f1
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",
25     "branding",
28 DIRS += [
29     "app",
32 if CONFIG["MAKENSISU"]:
33     DIRS += ["installer/windows"]
35 TEST_DIRS += [
36     "tools/mozscreenshots",
39 DIST_SUBDIR = "browser"
40 export("DIST_SUBDIR")
42 # These defines are read in firefox.js
43 DEFINES["APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
45 for cdm in CONFIG["MOZ_EME_MODULES"]:
46     DEFINES["MOZ_%s_EME" % cdm.upper()] = True
48 if CONFIG["MOZ_GPSD"]:
49     DEFINES["MOZ_GPSD"] = True
51 if CONFIG["MOZ_UPDATE_AGENT"]:
52     DEFINES["MOZ_UPDATE_AGENT"] = True
54 if CONFIG["MOZ_ARTIFACT_BUILDS"]:
55     DEFINES["MOZ_ARTIFACT_BUILDS"] = True
57 # These files are specified in this moz.build to pick up DIST_SUBDIR as set in
58 # this directory, which is un-set in browser/app.
59 JS_PREFERENCE_PP_FILES += [
60     "app/profile/firefox.js",
62 FINAL_TARGET_FILES.defaults += ["app/permissions"]
64 with Files("**"):
65     BUG_COMPONENT = ("Firefox", "General")
66     SCHEDULES.exclusive = ["linux", "macosx", "windows", "firefox"]
68 with Files("docs/**"):
69     SCHEDULES.exclusive = ["docs"]
71 with Files("Makefile.in"):
72     BUG_COMPONENT = ("Firefox Build System", "General")
74 with Files("*.mk"):
75     BUG_COMPONENT = ("Firefox Build System", "General")
77 with Files("**/moz.build"):
78     BUG_COMPONENT = ("Firefox Build System", "General")
80 with Files("moz.configure"):
81     BUG_COMPONENT = ("Firefox Build System", "General")
83 with Files("app.mozbuild"):
84     BUG_COMPONENT = ("Firefox Build System", "General")
86 with Files("moz.build"):
87     BUG_COMPONENT = ("Firefox Build System", "General")
89 with Files("confvars.sh"):
90     BUG_COMPONENT = ("Firefox Build System", "General")
92 with Files("LICENSE"):
93     BUG_COMPONENT = ("Firefox Build System", "General")
95 with Files("branding/**"):
96     BUG_COMPONENT = ("Firefox", "General")
98 with Files("config/**"):
99     BUG_COMPONENT = ("Firefox Build System", "General")
101 with Files("docs/**"):
102     BUG_COMPONENT = ("Toolkit", "Telemetry")
104 with Files("fonts/**"):
105     BUG_COMPONENT = ("Core", "Graphics: Text")
107 with Files("installer/**"):
108     BUG_COMPONENT = ("Firefox", "Installer")
110 with Files("tools/**"):
111     BUG_COMPONENT = ("Firefox", "General")
113 with Files("l10n-registry.manifest"):
114     BUG_COMPONENT = ("Core", "Localization")