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/.
8 BUG_COMPONENT = ("Firefox Build System", "General")
10 if CONFIG["MOZ_BUILD_APP"] == "mobile/android":
11 DEFINES["MOZ_FENNEC"] = True
13 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
14 DEFINES["MOZ_GTK"] = True
16 JAR_MANIFESTS += ["jar.mn"]
18 GeneratedFile("multilocale.txt", script="gen_multilocale.py")
19 FINAL_TARGET_FILES.res += [
23 if CONFIG["MOZ_CRASHREPORTER"]:
24 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
25 # TODO: fixing bug 1223748 should let us remove this special case
26 LOCALIZED_FILES["crashreporter.app"].Contents.Resources += [
27 "en-US/crashreporter/crashreporter.ini"
30 LOCALIZED_FILES += ["en-US/crashreporter/crashreporter.ini"]
32 LOCALIZED_GENERATED_FILES += ["update.locale"]
33 update_locale = LOCALIZED_GENERATED_FILES["update.locale"]
34 update_locale.script = "generate_update_locale.py"
35 LOCALIZED_FILES += ["!update.locale"]
37 LOCALIZED_GENERATED_FILES += ["locale.ini"]
38 LOCALIZED_GENERATED_FILES["locale.ini"].script = "generate_locale_ini.py"
39 LOCALIZED_FILES += ["!locale.ini"]