moz.build 665 B

123456789101112131415161718192021222324252627282930
  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. HOST_SOURCES += [
  6. 'bsdiff.c',
  7. ]
  8. HostProgram('mbsdiff')
  9. if CONFIG['MOZ_SYSTEM_BZ2']:
  10. HOST_OS_LIBS += CONFIG['MOZ_BZ2_LIBS']
  11. else:
  12. HOST_USE_LIBS += [
  13. 'hostbz2',
  14. ]
  15. if CONFIG['HOST_OS_ARCH'] == 'WINNT':
  16. HOST_OS_LIBS += [
  17. 'ws2_32',
  18. ]
  19. USE_STATIC_LIBS = True
  20. LOCAL_INCLUDES += [
  21. '/toolkit/mozapps/update/updater',
  22. ]
  23. HOST_CXXFLAGS += CONFIG['MOZ_BZ2_CFLAGS']