Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 # -*- Mode: python; c-basic-offset: 4; 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 SOURCES += [
8 'nsCollationUnix.cpp',
9 'nsDateTimeFormatUnix.cpp',
10 'nsPosixLocale.cpp',
11 ]
13 if CONFIG['OS_TARGET'] == 'Android':
14 SOURCES += [
15 'nsAndroidCharset.cpp',
16 ]
17 else:
18 SOURCES += [
19 'nsUNIXCharset.cpp',
20 ]
22 FINAL_LIBRARY = 'i18n'
24 GENERATED_FILES = [
25 'unixcharset.properties.h',
26 ]
27 LOCAL_INCLUDES += [
28 '..',
29 ]
32 # CODESET is not automatically defined on some older versions of Redhat.
33 # Define _XOPEN_SOURCE so CODESET will get defined and thus allow
34 # nl_langinfo(CODESET) to compile on these systems.
35 if CONFIG['OS_ARCH'] == 'Linux':
36 DEFINES['_XOPEN_SOURCE'] = 500
38 DEFINES['OSTYPE'] = '"%s"' % CONFIG['OS_CONFIG']