moz.build 558 B

1234567891011121314151617181920212223242526
  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. XPIDL_SOURCES += [
  6. 'nsIMIMEHeaderParam.idl',
  7. 'nsIMIMEInfo.idl',
  8. 'nsIMIMEService.idl',
  9. ]
  10. XPIDL_MODULE = 'mimetype'
  11. EXPORTS += [
  12. 'nsMimeTypes.h',
  13. ]
  14. SOURCES += [
  15. 'nsMIMEHeaderParamImpl.cpp',
  16. ]
  17. FINAL_LIBRARY = 'xul'
  18. if CONFIG['GNU_CXX']:
  19. CXXFLAGS += ['-Wno-error=shadow']