intl/locale/src/moz.build
author David Rajchenbach-Teller <dteller@mozilla.com>
Fri, 21 Mar 2014 08:57:08 -0400
changeset 174813 18f579c4308eab391b110a135678cef3764470f4
parent 168079 8bc655300999524e35a2adaa6852f0c39a698ba0
child 182129 15680e55195c68c876414ca8521a546dd2292915
permissions -rw-r--r--
Bug 965527 - More and more logging for OS.File AsyncShutdown. r=froydnj

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']

if toolkit == 'windows':
    DIRS += ['windows']
elif toolkit == 'cocoa':
    DIRS += ['mac']
else:
    DIRS += ['unix']

EXPORTS += [
    'nsCollation.h',
]

UNIFIED_SOURCES += [
    'nsCharsetAlias.cpp',
    'nsCollation.cpp',
    'nsLanguageAtomService.cpp',
    'nsLocale.cpp',
    'nsLocaleService.cpp',
    'nsScriptableDateFormat.cpp',
    'nsUConvPropertySearch.cpp',
]

EXTRA_JS_MODULES += [
    'PluralForm.jsm',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'i18n'

GENERATED_FILES = [
    'charsetalias.properties.h',
]

LOCAL_INCLUDES += [
    '/intl/uconv/src',
]

RESOURCE_FILES += [
    'langGroups.properties',
    'language.properties',
]