1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/locale/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +toolkit = CONFIG['MOZ_WIDGET_TOOLKIT'] 1.11 + 1.12 +if toolkit == 'windows': 1.13 + DIRS += ['windows'] 1.14 +elif toolkit == 'cocoa': 1.15 + DIRS += ['mac'] 1.16 +else: 1.17 + DIRS += ['unix'] 1.18 + 1.19 +EXPORTS += [ 1.20 + 'nsCollation.h', 1.21 +] 1.22 + 1.23 +UNIFIED_SOURCES += [ 1.24 + 'nsCharsetAlias.cpp', 1.25 + 'nsCollation.cpp', 1.26 + 'nsLanguageAtomService.cpp', 1.27 + 'nsLocale.cpp', 1.28 + 'nsLocaleService.cpp', 1.29 + 'nsScriptableDateFormat.cpp', 1.30 + 'nsUConvPropertySearch.cpp', 1.31 +] 1.32 + 1.33 +EXTRA_JS_MODULES += [ 1.34 + 'PluralForm.jsm', 1.35 +] 1.36 + 1.37 +MSVC_ENABLE_PGO = True 1.38 + 1.39 +FINAL_LIBRARY = 'i18n' 1.40 + 1.41 +GENERATED_FILES = [ 1.42 + 'charsetalias.properties.h', 1.43 +] 1.44 + 1.45 +LOCAL_INCLUDES += [ 1.46 + '/intl/uconv/src', 1.47 +] 1.48 + 1.49 +RESOURCE_FILES += [ 1.50 + 'langGroups.properties', 1.51 + 'language.properties', 1.52 +]