moz.build 748 B

12345678910111213141516171819202122232425262728293031
  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. with Files('**'):
  6. BUG_COMPONENT = ('Core', 'Graphics: Text')
  7. SOURCES += [
  8. 'src/table_tags.cc',
  9. 'src/variable_length.cc',
  10. 'src/woff2_common.cc',
  11. 'src/woff2_dec.cc',
  12. 'src/woff2_out.cc',
  13. ]
  14. EXPORTS.woff2 += [
  15. 'include/woff2/decode.h',
  16. 'include/woff2/encode.h',
  17. 'include/woff2/output.h',
  18. ]
  19. LOCAL_INCLUDES += [
  20. 'include',
  21. ]
  22. # We allow warnings for third-party code that can be updated from upstream.
  23. ALLOW_COMPILER_WARNINGS = True
  24. Library('woff2')