intl/locale/src/unix/moz.build

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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']

mercurial