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/.
9 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
11 if toolkit == 'windows':
13 elif toolkit == 'cocoa':
21 'nsILocaleService.idl',
22 'nsIScriptableDateFormat.idl',
25 XPIDL_MODULE = 'locale'
30 'nsDateTimeFormatCID.h',
31 'nsIDateTimeFormat.h',
32 'nsILanguageAtomService.h',
33 'nsIPlatformCharset.h',
40 'nsLanguageAtomService.cpp',
42 'nsLocaleService.cpp',
43 'nsScriptableDateFormat.cpp',
44 'nsUConvPropertySearch.cpp',
51 MSVC_ENABLE_PGO = True
60 'langGroups.properties',
61 'language.properties',
64 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
65 CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']