Bug 1600800: Force device pixels to be 1.0 for wpt reftests r=jgraham
[gecko.git] / toolkit / locales / moz.build
blob12b9f4f86547cc35d92cca95c53aa35ec818fd6a
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 with Files('**'):
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 += [
20     '!multilocale.txt',
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'
28         ]
29     else:
30         LOCALIZED_FILES += [
31             'en-US/crashreporter/crashreporter.ini'
32         ]
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']