michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: toolkit = CONFIG['MOZ_WIDGET_TOOLKIT'] michael@0: michael@0: if toolkit == 'windows': michael@0: DIRS += ['windows'] michael@0: elif toolkit == 'cocoa': michael@0: DIRS += ['mac'] michael@0: else: michael@0: DIRS += ['unix'] michael@0: michael@0: EXPORTS += [ michael@0: 'nsCollation.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsCharsetAlias.cpp', michael@0: 'nsCollation.cpp', michael@0: 'nsLanguageAtomService.cpp', michael@0: 'nsLocale.cpp', michael@0: 'nsLocaleService.cpp', michael@0: 'nsScriptableDateFormat.cpp', michael@0: 'nsUConvPropertySearch.cpp', michael@0: ] michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'PluralForm.jsm', michael@0: ] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FINAL_LIBRARY = 'i18n' michael@0: michael@0: GENERATED_FILES = [ michael@0: 'charsetalias.properties.h', michael@0: ] michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/intl/uconv/src', michael@0: ] michael@0: michael@0: RESOURCE_FILES += [ michael@0: 'langGroups.properties', michael@0: 'language.properties', michael@0: ]