moz.build 613 B

123456789101112131415161718192021
  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. Library('zlib')
  6. if CONFIG['MOZ_SYSTEM_ZLIB']:
  7. OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
  8. else:
  9. if CONFIG['ZLIB_IN_MOZGLUE']:
  10. # Can't do this until mozglue is handled by moz.build instead of
  11. # config/rules.mk.
  12. # USE_LIBS += [
  13. # 'mozglue'
  14. # ]
  15. pass
  16. DIRS += [
  17. '../../../modules/zlib',
  18. ]