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 LOCALIZED_GENERATED_FILES += ["update.locale"]
24 update_locale = LOCALIZED_GENERATED_FILES["update.locale"]
25 update_locale.script = "generate_update_locale.py"
26 LOCALIZED_FILES += ["!update.locale"]
28 LOCALIZED_GENERATED_FILES += ["locale.ini"]
29 LOCALIZED_GENERATED_FILES["locale.ini"].script = "generate_locale_ini.py"
30 LOCALIZED_FILES += ["!locale.ini"]