Bumping manifests a=b2g-bump
[gecko.git] / intl / locale / moz.build
blobdab4208b19ed2559803232dbed58dd09e6b9fa9d
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 TEST_DIRS += ['tests']
9 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
11 if toolkit == 'windows':
12     DIRS += ['windows']
13 elif toolkit == 'cocoa':
14     DIRS += ['mac']
15 else:
16     DIRS += ['unix']
18 XPIDL_SOURCES += [
19     'nsICollation.idl',
20     'nsILocale.idl',
21     'nsILocaleService.idl',
22     'nsIScriptableDateFormat.idl',
25 XPIDL_MODULE = 'locale'
27 EXPORTS += [
28     'nsCollation.h',
29     'nsCollationCID.h',
30     'nsDateTimeFormatCID.h',
31     'nsIDateTimeFormat.h',
32     'nsILanguageAtomService.h',
33     'nsIPlatformCharset.h',
34     'nsPosixLocale.h',
35     'nsWin32Locale.h',
38 UNIFIED_SOURCES += [
39     'nsCollation.cpp',
40     'nsLanguageAtomService.cpp',
41     'nsLocale.cpp',
42     'nsLocaleService.cpp',
43     'nsScriptableDateFormat.cpp',
44     'nsUConvPropertySearch.cpp',
47 EXTRA_JS_MODULES += [
48     'PluralForm.jsm',
51 MSVC_ENABLE_PGO = True
53 FINAL_LIBRARY = 'xul'
55 LOCAL_INCLUDES += [
56     '/intl/uconv',
59 RESOURCE_FILES += [
60     'langGroups.properties',
61     'language.properties',
64 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
65     CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']