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'
31 'en-US/crashreporter/crashreporter.ini'
34 LOCALIZED_GENERATED_FILES += ['update.locale']
35 update_locale = LOCALIZED_GENERATED_FILES['update.locale']
36 update_locale.script = 'generate_update_locale.py'
37 LOCALIZED_FILES += ['!update.locale']