moz.build 878 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. 'nsIBFCacheEntry.idl',
  7. 'nsIGroupedSHistory.idl',
  8. 'nsIPartialSHistory.idl',
  9. 'nsIPartialSHistoryListener.idl',
  10. 'nsISHContainer.idl',
  11. 'nsISHEntry.idl',
  12. 'nsISHistory.idl',
  13. 'nsISHistoryInternal.idl',
  14. 'nsISHistoryListener.idl',
  15. 'nsISHTransaction.idl',
  16. ]
  17. XPIDL_MODULE = 'shistory'
  18. EXPORTS += [
  19. 'nsSHEntryShared.h',
  20. ]
  21. SOURCES += [
  22. 'nsSHEntry.cpp',
  23. 'nsSHEntryShared.cpp',
  24. 'nsSHistory.cpp',
  25. 'nsSHTransaction.cpp',
  26. ]
  27. LOCAL_INCLUDES += [
  28. '/docshell/base',
  29. ]
  30. FINAL_LIBRARY = 'xul'
  31. if CONFIG['GNU_CXX']:
  32. CXXFLAGS += ['-Wno-error=shadow']