moz.build 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # This file builds the unicharutil_external_s library which should be used
  6. # by frozen (dependent) linkage components. Internal-linkage code should use
  7. # unicharutil_s which is built in the internal/ subdirectory.
  8. DIRS += ['internal']
  9. EXPORTS += [
  10. 'GreekCasing.h',
  11. 'ICUUtils.h',
  12. 'IrishCasing.h',
  13. 'nsBidiUtils.h',
  14. 'nsSpecialCasingData.h',
  15. 'nsUnicharUtils.h',
  16. 'nsUnicodeProperties.h',
  17. 'nsUnicodeScriptCodes.h',
  18. ]
  19. include('objs.mozbuild')
  20. UNIFIED_SOURCES += intl_unicharutil_util_cppsrcs
  21. Library('unicharutil_external_s')
  22. FORCE_STATIC_LIB = True
  23. SDK_LIBRARY = True
  24. USE_STATIC_LIBS = True
  25. if CONFIG['_MSC_VER']:
  26. DEFINES['_USE_ANSI_CPP'] = True
  27. # Don't include directives about which CRT to use
  28. CFLAGS += ['-Zl']
  29. CXXFLAGS += ['-Zl']
  30. USE_LIBS += ['icu']
  31. DIST_INSTALL = True