docshell/base/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/docshell/base/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,87 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +XPIDL_SOURCES += [
    1.11 +    'nsCDefaultURIFixup.idl',
    1.12 +    'nsIClipboardCommands.idl',
    1.13 +    'nsIContentViewer.idl',
    1.14 +    'nsIContentViewerContainer.idl',
    1.15 +    'nsIContentViewerEdit.idl',
    1.16 +    'nsIContentViewerFile.idl',
    1.17 +    'nsIDocCharset.idl',
    1.18 +    'nsIDocShell.idl',
    1.19 +    'nsIDocShellLoadInfo.idl',
    1.20 +    'nsIDocShellTreeItem.idl',
    1.21 +    'nsIDocShellTreeOwner.idl',
    1.22 +    'nsIDocumentLoaderFactory.idl',
    1.23 +    'nsIDownloadHistory.idl',
    1.24 +    'nsIGlobalHistory2.idl',
    1.25 +    'nsILoadContext.idl',
    1.26 +    'nsIMarkupDocumentViewer.idl',
    1.27 +    'nsIPrivacyTransitionObserver.idl',
    1.28 +    'nsIReflowObserver.idl',
    1.29 +    'nsIRefreshURI.idl',
    1.30 +    'nsIScrollable.idl',
    1.31 +    'nsITextScroll.idl',
    1.32 +    'nsIURIFixup.idl',
    1.33 +    'nsIWebNavigation.idl',
    1.34 +    'nsIWebNavigationInfo.idl',
    1.35 +    'nsIWebPageDescriptor.idl',
    1.36 +]
    1.37 +
    1.38 +XPIDL_MODULE = 'docshell'
    1.39 +
    1.40 +EXPORTS += [
    1.41 +    'nsDocShellLoadTypes.h',
    1.42 +    'nsILinkHandler.h',
    1.43 +    'nsIScrollObserver.h',
    1.44 +    'nsIWebShellServices.h',
    1.45 +    'SerializedLoadContext.h',
    1.46 +]
    1.47 +
    1.48 +EXPORTS.mozilla += [
    1.49 +    'IHistory.h',
    1.50 +    'LoadContext.h',
    1.51 +]
    1.52 +
    1.53 +UNIFIED_SOURCES += [
    1.54 +    'LoadContext.cpp',
    1.55 +    'nsAboutRedirector.cpp',
    1.56 +    'nsDefaultURIFixup.cpp',
    1.57 +    'nsDocShellEditorData.cpp',
    1.58 +    'nsDocShellEnumerator.cpp',
    1.59 +    'nsDocShellLoadInfo.cpp',
    1.60 +    'nsDocShellTransferableHooks.cpp',
    1.61 +    'nsDownloadHistory.cpp',
    1.62 +    'nsDSURIContentListener.cpp',
    1.63 +    'nsWebNavigationInfo.cpp',
    1.64 +    'SerializedLoadContext.cpp',
    1.65 +]
    1.66 +
    1.67 +# nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging.
    1.68 +SOURCES += [
    1.69 +    'nsDocShell.cpp',
    1.70 +]
    1.71 +
    1.72 +FAIL_ON_WARNINGS = True
    1.73 +
    1.74 +MSVC_ENABLE_PGO = True
    1.75 +
    1.76 +include('/ipc/chromium/chromium-config.mozbuild')
    1.77 +
    1.78 +FINAL_LIBRARY = 'xul'
    1.79 +LOCAL_INCLUDES += [
    1.80 +    '../shistory/src',
    1.81 +    '/content/base/src',
    1.82 +    '/dom/base',
    1.83 +    '/layout/base',
    1.84 +    '/layout/generic',
    1.85 +    '/layout/xul',
    1.86 +    '/netwerk/protocol/viewsource',
    1.87 +]
    1.88 +
    1.89 +if CONFIG['MOZ_TOOLKIT_SEARCH']:
    1.90 +    DEFINES['MOZ_TOOLKIT_SEARCH'] = True

mercurial