1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2# vim: set filetype=python: 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7DIRS += [ 8 'timeline', 9] 10 11XPIDL_SOURCES += [ 12 'nsCDefaultURIFixup.idl', 13 'nsIClipboardCommands.idl', 14 'nsIContentViewer.idl', 15 'nsIContentViewerContainer.idl', 16 'nsIContentViewerEdit.idl', 17 'nsIContentViewerFile.idl', 18 'nsIDocCharset.idl', 19 'nsIDocShell.idl', 20 'nsIDocShellLoadInfo.idl', 21 'nsIDocShellTreeItem.idl', 22 'nsIDocShellTreeOwner.idl', 23 'nsIDocumentLoaderFactory.idl', 24 'nsIDownloadHistory.idl', 25 'nsIGlobalHistory2.idl', 26 'nsILoadContext.idl', 27 'nsIPrivacyTransitionObserver.idl', 28 'nsIReflowObserver.idl', 29 'nsIRefreshURI.idl', 30 'nsIScrollable.idl', 31 'nsITextScroll.idl', 32 'nsIURIFixup.idl', 33 'nsIWebNavigation.idl', 34 'nsIWebNavigationInfo.idl', 35 'nsIWebPageDescriptor.idl', 36] 37 38XPIDL_MODULE = 'docshell' 39 40EXPORTS += [ 41 'nsDocShellLoadTypes.h', 42 'nsILinkHandler.h', 43 'nsIScrollObserver.h', 44 'nsIWebShellServices.h', 45 'SerializedLoadContext.h', 46] 47 48EXPORTS.mozilla += [ 49 'IHistory.h', 50 'LoadContext.h', 51] 52 53UNIFIED_SOURCES += [ 54 'LoadContext.cpp', 55 'nsAboutRedirector.cpp', 56 'nsDefaultURIFixup.cpp', 57 'nsDocShell.cpp', 58 'nsDocShellEditorData.cpp', 59 'nsDocShellEnumerator.cpp', 60 'nsDocShellLoadInfo.cpp', 61 'nsDocShellTransferableHooks.cpp', 62 'nsDownloadHistory.cpp', 63 'nsDSURIContentListener.cpp', 64 'nsWebNavigationInfo.cpp', 65 'SerializedLoadContext.cpp', 66] 67 68include('/ipc/chromium/chromium-config.mozbuild') 69 70FINAL_LIBRARY = 'xul' 71LOCAL_INCLUDES += [ 72 '/docshell/shistory', 73 '/dom/base', 74 '/layout/base', 75 '/layout/generic', 76 '/layout/xul', 77 '/netwerk/protocol/viewsource', 78 '/tools/profiler', 79] 80 81if CONFIG['MOZ_TOOLKIT_SEARCH']: 82 DEFINES['MOZ_TOOLKIT_SEARCH'] = True 83 84if CONFIG['MOZ_DEVTOOLS'] == 'all': 85 DEFINES['MOZ_DEVTOOLS_ALL'] = True 86 87if CONFIG['GNU_CXX']: 88 CXXFLAGS += ['-Wno-error=shadow'] 89