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 JAR_MANIFESTS += ["jar.mn"]
9 # If DIST_SUBDIR ever gets unset in browser this path might be wrong due to PREF_DIR changing.
10 LOCALIZED_PP_FILES.defaults.preferences += ["en-US/firefox-l10n.js"]
12 if CONFIG["MOZ_CRASHREPORTER"]:
13 LOCALIZED_FILES += ["en-US/crashreporter/crashreporter-override.ini"]
15 if CONFIG["MOZ_UPDATER"]:
16 LOCALIZED_GENERATED_FILES += ["updater.ini"]
17 updater = LOCALIZED_GENERATED_FILES["updater.ini"]
18 updater.script = "generate_ini.py"
20 "en-US/updater/updater.ini",
21 "../installer/windows/nsis/updater_append.ini",
23 # Yes, this is weird, but what can you do? This file doesn't want to be in the DIST_SUBDIR,
24 # but we can't really move it to a different directory until we change how locale repacks
26 LOCALIZED_FILES[".."] += ["!updater.ini"]
29 BUG_COMPONENT = ("Firefox Build System", "General")
31 with Files("all-locales"):
32 BUG_COMPONENT = ("Core", "Localization")
34 with Files("en-US/**"):
35 BUG_COMPONENT = ("Core", "Localization")
37 with Files("shipped-locales"):
38 BUG_COMPONENT = ("Core", "Localization")