intl/unicharutil/moz.build
author Gerald Squelart <gsquelart@mozilla.com>
Thu, 26 May 2016 19:24:35 +1000
changeset 371291 89a24835ba7432bffb9c0c095a98a619a5750658
parent 367194 2572c0758dd4377a832c1e8ed16522dc829634ad
child 370596 686a7ecc81d3d8113c838689d076d9c6fe321e54
child 387694 d4aea6d5d2f8271d272969832603fc86e982f5f2
permissions -rw-r--r--
Bug 1271483 - p16. gtest for list-string functions - r?cpearce Because it is templated code inside a cpp, the test includes a copy of that code. When we make this more public, the test should then include the proper header instead. MozReview-Commit-ID: 3vOvaj5VVhm

# -*- 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/.

DIRS += ['util', 'tables']
TEST_DIRS += ['tests']

XPIDL_SOURCES += [
    'nsIEntityConverter.idl',
    'nsISaveAsCharset.idl',
    'nsIUnicodeNormalizer.idl',
]

XPIDL_MODULE = 'unicharutil'

EXPORTS += [
    'nsICaseConversion.h',
    'nsIUGenCategory.h',
    'nsUnicharUtilCIID.h',
    'nsUnicodeNormalizer.h',
]

UNIFIED_SOURCES += [
    'nsCaseConversionImp2.cpp',
    'nsCategoryImp.cpp',
    'nsEntityConverter.cpp',
    'nsSaveAsCharset.cpp',
    'nsUnicodeNormalizer.cpp',
]

FINAL_LIBRARY = 'xul'

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']