2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:19 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsCDefaultURIFixup.idl',
|
|
|
|
'nsIClipboardCommands.idl',
|
|
|
|
'nsIContentViewer.idl',
|
|
|
|
'nsIContentViewerContainer.idl',
|
|
|
|
'nsIContentViewerEdit.idl',
|
|
|
|
'nsIContentViewerFile.idl',
|
|
|
|
'nsIDocCharset.idl',
|
|
|
|
'nsIDocShell.idl',
|
|
|
|
'nsIDocShellLoadInfo.idl',
|
|
|
|
'nsIDocShellTreeItem.idl',
|
|
|
|
'nsIDocShellTreeOwner.idl',
|
|
|
|
'nsIDocumentLoaderFactory.idl',
|
|
|
|
'nsIDownloadHistory.idl',
|
|
|
|
'nsIGlobalHistory2.idl',
|
|
|
|
'nsILoadContext.idl',
|
|
|
|
'nsIMarkupDocumentViewer.idl',
|
|
|
|
'nsIPrivacyTransitionObserver.idl',
|
2013-06-01 03:00:12 -07:00
|
|
|
'nsIReflowObserver.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
'nsIRefreshURI.idl',
|
|
|
|
'nsIScrollable.idl',
|
|
|
|
'nsITextScroll.idl',
|
|
|
|
'nsIURIFixup.idl',
|
|
|
|
'nsIWebNavigation.idl',
|
|
|
|
'nsIWebNavigationInfo.idl',
|
|
|
|
'nsIWebPageDescriptor.idl',
|
|
|
|
]
|
|
|
|
|
2013-11-18 18:47:43 -08:00
|
|
|
XPIDL_MODULE = 'docshell'
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsDocShellLoadTypes.h',
|
|
|
|
'nsILinkHandler.h',
|
2014-02-27 23:45:01 -08:00
|
|
|
'nsIScrollObserver.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsIWebShellServices.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'SerializedLoadContext.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'IHistory.h',
|
|
|
|
'LoadContext.h',
|
|
|
|
]
|
|
|
|
|
2013-11-18 21:39:08 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'LoadContext.cpp',
|
|
|
|
'nsAboutRedirector.cpp',
|
|
|
|
'nsDefaultURIFixup.cpp',
|
|
|
|
'nsDocShellEditorData.cpp',
|
|
|
|
'nsDocShellEnumerator.cpp',
|
|
|
|
'nsDocShellLoadInfo.cpp',
|
|
|
|
'nsDocShellTransferableHooks.cpp',
|
|
|
|
'nsDownloadHistory.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsDSURIContentListener.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsWebNavigationInfo.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'SerializedLoadContext.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-11-23 22:29:24 -08:00
|
|
|
# nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging.
|
|
|
|
SOURCES += [
|
|
|
|
'nsDocShell.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 00:04:17 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../shistory/src',
|
|
|
|
'/content/base/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/layout/base',
|
|
|
|
'/layout/generic',
|
2013-12-03 17:06:16 -08:00
|
|
|
'/layout/xul',
|
2013-11-11 00:04:17 -08:00
|
|
|
'/netwerk/protocol/viewsource',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
|
|
|
DEFINES['MOZ_TOOLKIT_SEARCH'] = True
|