moz.build (1317B)
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 JAR_MANIFESTS += ["jar.mn"] 8 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"] 11 12 if CONFIG["MOZ_UPDATER"]: 13 LOCALIZED_GENERATED_FILES += ["updater.ini"] 14 updater = LOCALIZED_GENERATED_FILES["updater.ini"] 15 updater.script = "generate_ini.py" 16 updater.inputs = [ 17 "en-US/updater/updater.ini", 18 "../installer/windows/nsis/updater_append.ini", 19 ] 20 # Yes, this is weird, but what can you do? This file doesn't want to be in the DIST_SUBDIR, 21 # but we can't really move it to a different directory until we change how locale repacks 22 # work. 23 LOCALIZED_FILES[".."] += ["!updater.ini"] 24 25 with Files("**"): 26 BUG_COMPONENT = ("Firefox Build System", "General") 27 28 with Files("all-locales"): 29 BUG_COMPONENT = ("Core", "Localization") 30 31 with Files("en-US/**"): 32 BUG_COMPONENT = ("Core", "Localization") 33 34 with Files("shipped-locales"): 35 BUG_COMPONENT = ("Core", "Localization")