|
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 'nsCWebBrowser.idl', |
|
9 'nsICommandHandler.idl', |
|
10 'nsIContextMenuListener.idl', |
|
11 'nsIContextMenuListener2.idl', |
|
12 'nsIEmbeddingSiteWindow.idl', |
|
13 'nsITooltipListener.idl', |
|
14 'nsITooltipTextProvider.idl', |
|
15 'nsIWebBrowser.idl', |
|
16 'nsIWebBrowserChrome.idl', |
|
17 'nsIWebBrowserChrome2.idl', |
|
18 'nsIWebBrowserChrome3.idl', |
|
19 'nsIWebBrowserChromeFocus.idl', |
|
20 'nsIWebBrowserFocus.idl', |
|
21 'nsIWebBrowserSetup.idl', |
|
22 'nsIWebBrowserStream.idl', |
|
23 ] |
|
24 |
|
25 if CONFIG['NS_PRINTING']: |
|
26 XPIDL_SOURCES += [ |
|
27 'nsIPrintingPrompt.idl', |
|
28 'nsIPrintingPromptService.idl', |
|
29 'nsIWebBrowserPrint.idl', |
|
30 ] |
|
31 |
|
32 XPIDL_MODULE = 'webBrowser_core' |
|
33 |
|
34 EXPORTS += [ |
|
35 'nsCTooltipTextProvider.h', |
|
36 ] |
|
37 |
|
38 UNIFIED_SOURCES += [ |
|
39 'nsCommandHandler.cpp', |
|
40 'nsContextMenuInfo.cpp', |
|
41 'nsDocShellTreeOwner.cpp', |
|
42 'nsEmbedStream.cpp', |
|
43 'nsWebBrowser.cpp', |
|
44 'nsWebBrowserContentPolicy.cpp', |
|
45 ] |
|
46 |
|
47 FAIL_ON_WARNINGS = True |
|
48 |
|
49 FINAL_LIBRARY = 'webbrwsr' |
|
50 LOCAL_INCLUDES += [ |
|
51 '../../../content/base/src', |
|
52 '../../../content/svg/content/src', |
|
53 ] |
|
54 |