|
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/. |
|
6 |
|
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 ] |
|
34 |
|
35 XPIDL_MODULE = 'docshell' |
|
36 |
|
37 EXPORTS += [ |
|
38 'nsDocShellLoadTypes.h', |
|
39 'nsILinkHandler.h', |
|
40 'nsIScrollObserver.h', |
|
41 'nsIWebShellServices.h', |
|
42 'SerializedLoadContext.h', |
|
43 ] |
|
44 |
|
45 EXPORTS.mozilla += [ |
|
46 'IHistory.h', |
|
47 'LoadContext.h', |
|
48 ] |
|
49 |
|
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 ] |
|
63 |
|
64 # nsDocShell.cpp cannot be built in unified mode because it forces NSPR logging. |
|
65 SOURCES += [ |
|
66 'nsDocShell.cpp', |
|
67 ] |
|
68 |
|
69 FAIL_ON_WARNINGS = True |
|
70 |
|
71 MSVC_ENABLE_PGO = True |
|
72 |
|
73 include('/ipc/chromium/chromium-config.mozbuild') |
|
74 |
|
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 ] |
|
85 |
|
86 if CONFIG['MOZ_TOOLKIT_SEARCH']: |
|
87 DEFINES['MOZ_TOOLKIT_SEARCH'] = True |