moz.build 632 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. EXPORTS.mozilla.net += [
  6. 'nsFileProtocolHandler.h',
  7. ]
  8. XPIDL_SOURCES += [
  9. 'nsIFileChannel.idl',
  10. 'nsIFileProtocolHandler.idl',
  11. ]
  12. XPIDL_MODULE = 'necko_file'
  13. SOURCES += [
  14. 'nsFileChannel.cpp',
  15. 'nsFileProtocolHandler.cpp',
  16. ]
  17. FINAL_LIBRARY = 'xul'
  18. LOCAL_INCLUDES += [
  19. '/netwerk/base',
  20. ]
  21. if CONFIG['GNU_CXX']:
  22. CXXFLAGS += ['-Wno-error=shadow']