moz.build 829 B

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. DIRS += ['util', 'tables']
  6. TEST_DIRS += ['tests']
  7. XPIDL_SOURCES += [
  8. 'nsIEntityConverter.idl',
  9. 'nsISaveAsCharset.idl',
  10. 'nsIUnicodeNormalizer.idl',
  11. ]
  12. XPIDL_MODULE = 'unicharutil'
  13. EXPORTS += [
  14. 'nsICaseConversion.h',
  15. 'nsIUGenCategory.h',
  16. 'nsUnicharUtilCIID.h',
  17. 'nsUnicodeNormalizer.h',
  18. ]
  19. UNIFIED_SOURCES += [
  20. 'nsCaseConversionImp2.cpp',
  21. 'nsCategoryImp.cpp',
  22. 'nsEntityConverter.cpp',
  23. 'nsSaveAsCharset.cpp',
  24. 'nsUnicodeNormalizer.cpp',
  25. ]
  26. FINAL_LIBRARY = 'xul'
  27. if CONFIG['GNU_CXX']:
  28. CXXFLAGS += ['-Wno-error=shadow']