|
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 SOURCES += [ |
|
8 'nsEmbeddingModule.cpp', |
|
9 ] |
|
10 |
|
11 LIBRARY_NAME = 'embedcomponents' |
|
12 |
|
13 FAIL_ON_WARNINGS = True |
|
14 |
|
15 FINAL_LIBRARY = 'xul' |
|
16 LOCAL_INCLUDES += [ |
|
17 '../appstartup/src', |
|
18 '../commandhandler/src', |
|
19 '../find/src', |
|
20 '../webbrowserpersist/src', |
|
21 '../windowwatcher/src', |
|
22 ] |
|
23 |
|
24 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
|
25 LOCAL_INCLUDES += [ |
|
26 '../printingui/src/win', |
|
27 ] |
|
28 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
29 LOCAL_INCLUDES += [ |
|
30 '../printingui/src/mac', |
|
31 ] |
|
32 |
|
33 if CONFIG['MOZ_PDF_PRINTING']: |
|
34 LOCAL_INCLUDES += [ |
|
35 '../printingui/src/unixshared', |
|
36 ] |
|
37 |