moz.build 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. DIRS += [
  6. 'timeline',
  7. ]
  8. XPIDL_SOURCES += [
  9. 'nsCDefaultURIFixup.idl',
  10. 'nsIClipboardCommands.idl',
  11. 'nsIContentViewer.idl',
  12. 'nsIContentViewerContainer.idl',
  13. 'nsIContentViewerEdit.idl',
  14. 'nsIContentViewerFile.idl',
  15. 'nsIDocCharset.idl',
  16. 'nsIDocShell.idl',
  17. 'nsIDocShellLoadInfo.idl',
  18. 'nsIDocShellTreeItem.idl',
  19. 'nsIDocShellTreeOwner.idl',
  20. 'nsIDocumentLoaderFactory.idl',
  21. 'nsIDownloadHistory.idl',
  22. 'nsIGlobalHistory2.idl',
  23. 'nsILoadContext.idl',
  24. 'nsIPrivacyTransitionObserver.idl',
  25. 'nsIReflowObserver.idl',
  26. 'nsIRefreshURI.idl',
  27. 'nsIScrollable.idl',
  28. 'nsITextScroll.idl',
  29. 'nsIURIFixup.idl',
  30. 'nsIWebNavigation.idl',
  31. 'nsIWebNavigationInfo.idl',
  32. 'nsIWebPageDescriptor.idl',
  33. ]
  34. XPIDL_MODULE = 'docshell'
  35. EXPORTS += [
  36. 'nsDocShellLoadTypes.h',
  37. 'nsILinkHandler.h',
  38. 'nsIScrollObserver.h',
  39. 'nsIWebShellServices.h',
  40. 'SerializedLoadContext.h',
  41. ]
  42. EXPORTS.mozilla += [
  43. 'IHistory.h',
  44. 'LoadContext.h',
  45. ]
  46. SOURCES += [
  47. 'LoadContext.cpp',
  48. 'nsAboutRedirector.cpp',
  49. 'nsDefaultURIFixup.cpp',
  50. 'nsDocShell.cpp',
  51. 'nsDocShellEditorData.cpp',
  52. 'nsDocShellEnumerator.cpp',
  53. 'nsDocShellLoadInfo.cpp',
  54. 'nsDocShellTransferableHooks.cpp',
  55. 'nsDownloadHistory.cpp',
  56. 'nsDSURIContentListener.cpp',
  57. 'nsWebNavigationInfo.cpp',
  58. 'SerializedLoadContext.cpp',
  59. ]
  60. include('/ipc/chromium/chromium-config.mozbuild')
  61. FINAL_LIBRARY = 'xul'
  62. LOCAL_INCLUDES += [
  63. '/docshell/shistory',
  64. '/dom/base',
  65. '/layout/base',
  66. '/layout/generic',
  67. '/layout/xul',
  68. '/netwerk/protocol/viewsource',
  69. '/tools/profiler',
  70. ]
  71. if CONFIG['MOZ_TOOLKIT_SEARCH']:
  72. DEFINES['MOZ_TOOLKIT_SEARCH'] = True
  73. if CONFIG['GNU_CXX']:
  74. CXXFLAGS += ['-Wno-error=shadow']