michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsCDefaultURIFixup.idl', michael@0: 'nsIClipboardCommands.idl', michael@0: 'nsIContentViewer.idl', michael@0: 'nsIContentViewerContainer.idl', michael@0: 'nsIContentViewerEdit.idl', michael@0: 'nsIContentViewerFile.idl', michael@0: 'nsIDocCharset.idl', michael@0: 'nsIDocShell.idl', michael@0: 'nsIDocShellLoadInfo.idl', michael@0: 'nsIDocShellTreeItem.idl', michael@0: 'nsIDocShellTreeOwner.idl', michael@0: 'nsIDocumentLoaderFactory.idl', michael@0: 'nsIDownloadHistory.idl', michael@0: 'nsIGlobalHistory2.idl', michael@0: 'nsILoadContext.idl', michael@0: 'nsIMarkupDocumentViewer.idl', michael@0: 'nsIPrivacyTransitionObserver.idl', michael@0: 'nsIReflowObserver.idl', michael@0: 'nsIRefreshURI.idl', michael@0: 'nsIScrollable.idl', michael@0: 'nsITextScroll.idl', michael@0: 'nsIURIFixup.idl', michael@0: 'nsIWebNavigation.idl', michael@0: 'nsIWebNavigationInfo.idl', michael@0: 'nsIWebPageDescriptor.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'docshell' michael@0: michael@0: EXPORTS += [ michael@0: 'nsDocShellLoadTypes.h', michael@0: 'nsILinkHandler.h', michael@0: 'nsIScrollObserver.h', michael@0: 'nsIWebShellServices.h', michael@0: 'SerializedLoadContext.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'IHistory.h', michael@0: 'LoadContext.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'LoadContext.cpp', michael@0: 'nsAboutRedirector.cpp', michael@0: 'nsDefaultURIFixup.cpp', michael@0: 'nsDocShellEditorData.cpp', michael@0: 'nsDocShellEnumerator.cpp', michael@0: 'nsDocShellLoadInfo.cpp', michael@0: 'nsDocShellTransferableHooks.cpp', michael@0: 'nsDownloadHistory.cpp', michael@0: 'nsDSURIContentListener.cpp', michael@0: 'nsWebNavigationInfo.cpp', michael@0: 'SerializedLoadContext.cpp', michael@0: ] michael@0: michael@0: # nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging. michael@0: SOURCES += [ michael@0: 'nsDocShell.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: LOCAL_INCLUDES += [ michael@0: '../shistory/src', michael@0: '/content/base/src', michael@0: '/dom/base', michael@0: '/layout/base', michael@0: '/layout/generic', michael@0: '/layout/xul', michael@0: '/netwerk/protocol/viewsource', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_TOOLKIT_SEARCH']: michael@0: DEFINES['MOZ_TOOLKIT_SEARCH'] = True