docshell/base/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # -*- Mode: python; c-basic-offset: 4; 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/.
     7 XPIDL_SOURCES += [
     8     'nsCDefaultURIFixup.idl',
     9     'nsIClipboardCommands.idl',
    10     'nsIContentViewer.idl',
    11     'nsIContentViewerContainer.idl',
    12     'nsIContentViewerEdit.idl',
    13     'nsIContentViewerFile.idl',
    14     'nsIDocCharset.idl',
    15     'nsIDocShell.idl',
    16     'nsIDocShellLoadInfo.idl',
    17     'nsIDocShellTreeItem.idl',
    18     'nsIDocShellTreeOwner.idl',
    19     'nsIDocumentLoaderFactory.idl',
    20     'nsIDownloadHistory.idl',
    21     'nsIGlobalHistory2.idl',
    22     'nsILoadContext.idl',
    23     'nsIMarkupDocumentViewer.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 ]
    35 XPIDL_MODULE = 'docshell'
    37 EXPORTS += [
    38     'nsDocShellLoadTypes.h',
    39     'nsILinkHandler.h',
    40     'nsIScrollObserver.h',
    41     'nsIWebShellServices.h',
    42     'SerializedLoadContext.h',
    43 ]
    45 EXPORTS.mozilla += [
    46     'IHistory.h',
    47     'LoadContext.h',
    48 ]
    50 UNIFIED_SOURCES += [
    51     'LoadContext.cpp',
    52     'nsAboutRedirector.cpp',
    53     'nsDefaultURIFixup.cpp',
    54     'nsDocShellEditorData.cpp',
    55     'nsDocShellEnumerator.cpp',
    56     'nsDocShellLoadInfo.cpp',
    57     'nsDocShellTransferableHooks.cpp',
    58     'nsDownloadHistory.cpp',
    59     'nsDSURIContentListener.cpp',
    60     'nsWebNavigationInfo.cpp',
    61     'SerializedLoadContext.cpp',
    62 ]
    64 # nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging.
    65 SOURCES += [
    66     'nsDocShell.cpp',
    67 ]
    69 FAIL_ON_WARNINGS = True
    71 MSVC_ENABLE_PGO = True
    73 include('/ipc/chromium/chromium-config.mozbuild')
    75 FINAL_LIBRARY = 'xul'
    76 LOCAL_INCLUDES += [
    77     '../shistory/src',
    78     '/content/base/src',
    79     '/dom/base',
    80     '/layout/base',
    81     '/layout/generic',
    82     '/layout/xul',
    83     '/netwerk/protocol/viewsource',
    84 ]
    86 if CONFIG['MOZ_TOOLKIT_SEARCH']:
    87     DEFINES['MOZ_TOOLKIT_SEARCH'] = True

mercurial