Source code

Revision control

Other Tools

1
# -*- Mode: python; 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
with Files('**'):
8
BUG_COMPONENT = ('Core', 'DOM: Navigation')
9
10
with Files('crashtests/430628*'):
11
BUG_COMPONENT = ('Core', 'DOM: Editor')
12
13
with Files('crashtests/432114*'):
14
BUG_COMPONENT = ('Core', 'DOM: Editor')
15
16
with Files('crashtests/500328*'):
17
BUG_COMPONENT = ('Firefox', 'Bookmarks & History')
18
19
with Files('IHistory.h'):
20
BUG_COMPONENT = ('Toolkit', 'Places')
21
22
with Files('*LoadContext.*'):
23
BUG_COMPONENT = ('Core', 'Networking')
24
25
with Files('nsAboutRedirector.*'):
26
BUG_COMPONENT = ('Core', 'General')
27
28
with Files('nsIScrollObserver.*'):
29
BUG_COMPONENT = ('Core', 'Panning and Zooming')
30
31
DIRS += [
32
'timeline',
33
]
34
35
XPIDL_SOURCES += [
36
'nsIContentViewer.idl',
37
'nsIContentViewerEdit.idl',
38
'nsIDocShell.idl',
39
'nsIDocShellTreeItem.idl',
40
'nsIDocShellTreeOwner.idl',
41
'nsIDocumentLoaderFactory.idl',
42
'nsILoadContext.idl',
43
'nsILoadURIDelegate.idl',
44
'nsIPrivacyTransitionObserver.idl',
45
'nsIReflowObserver.idl',
46
'nsIRefreshURI.idl',
47
'nsITooltipListener.idl',
48
'nsITooltipTextProvider.idl',
49
'nsIURIFixup.idl',
50
'nsIWebNavigation.idl',
51
'nsIWebNavigationInfo.idl',
52
'nsIWebPageDescriptor.idl',
53
]
54
55
XPIDL_MODULE = 'docshell'
56
57
EXPORTS += [
58
'nsCTooltipTextProvider.h',
59
'nsDocShell.h',
60
'nsDocShellLoadState.h',
61
'nsDocShellLoadTypes.h',
62
'nsDocShellTreeOwner.h',
63
'nsIScrollObserver.h',
64
'nsWebNavigationInfo.h',
65
'SerializedLoadContext.h',
66
]
67
68
EXPORTS.mozilla += [
69
'BaseHistory.h',
70
'IHistory.h',
71
'LoadContext.h',
72
]
73
74
EXPORTS.mozilla.dom += [
75
'BrowsingContext.h',
76
'BrowsingContextGroup.h',
77
'CanonicalBrowsingContext.h',
78
'ChildProcessChannelListener.h',
79
'SyncedContext.h',
80
'SyncedContextInlines.h',
81
'WindowContext.h',
82
]
83
84
UNIFIED_SOURCES += [
85
'BaseHistory.cpp',
86
'BrowsingContext.cpp',
87
'BrowsingContextGroup.cpp',
88
'CanonicalBrowsingContext.cpp',
89
'ChildProcessChannelListener.cpp',
90
'LoadContext.cpp',
91
'nsAboutRedirector.cpp',
92
'nsDefaultURIFixup.cpp',
93
'nsDocShell.cpp',
94
'nsDocShellEditorData.cpp',
95
'nsDocShellEnumerator.cpp',
96
'nsDocShellLoadState.cpp',
97
'nsDocShellTreeOwner.cpp',
98
'nsDSURIContentListener.cpp',
99
'nsPingListener.cpp',
100
'nsRefreshTimer.cpp',
101
'nsWebNavigationInfo.cpp',
102
'SerializedLoadContext.cpp',
103
'WindowContext.cpp',
104
]
105
106
include('/ipc/chromium/chromium-config.mozbuild')
107
108
FINAL_LIBRARY = 'xul'
109
LOCAL_INCLUDES += [
110
'/docshell/shistory',
111
'/dom/base',
112
'/dom/bindings',
113
'/js/xpconnect/src',
114
'/layout/base',
115
'/layout/generic',
116
'/layout/style',
117
'/layout/xul',
118
'/netwerk/base',
119
'/netwerk/protocol/viewsource',
120
'/toolkit/components/browser',
121
'/toolkit/components/find',
122
'/tools/profiler',
123
]
124
125
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
126
CXXFLAGS += ['-Wno-error=shadow']