|
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 'inICSSValueSearch.idl', |
|
9 'inIDeepTreeWalker.idl', |
|
10 'inIDOMUtils.idl', |
|
11 'inIDOMView.idl', |
|
12 'inIFlasher.idl', |
|
13 'inISearchObserver.idl', |
|
14 'inISearchProcess.idl', |
|
15 'nsIDOMFontFace.idl', |
|
16 'nsIDOMFontFaceList.idl', |
|
17 ] |
|
18 |
|
19 XPIDL_MODULE = 'inspector' |
|
20 |
|
21 EXPORTS += [ |
|
22 'nsFontFace.h', |
|
23 'nsFontFaceList.h', |
|
24 ] |
|
25 |
|
26 UNIFIED_SOURCES += [ |
|
27 'inCSSValueSearch.cpp', |
|
28 'inDeepTreeWalker.cpp', |
|
29 'inDOMUtils.cpp', |
|
30 'inFlasher.cpp', |
|
31 'inLayoutUtils.cpp', |
|
32 'inSearchLoop.cpp', |
|
33 'nsFontFace.cpp', |
|
34 'nsFontFaceList.cpp', |
|
35 ] |
|
36 |
|
37 if CONFIG['MOZ_XUL']: |
|
38 UNIFIED_SOURCES += [ |
|
39 'inDOMView.cpp', |
|
40 ] |
|
41 |
|
42 FAIL_ON_WARNINGS = True |
|
43 |
|
44 FINAL_LIBRARY = 'gklayout' |
|
45 LOCAL_INCLUDES += [ |
|
46 '../style', |
|
47 '/content/base/src', |
|
48 '/dom/xbl', |
|
49 ] |
|
50 |
|
51 if CONFIG['ENABLE_TESTS']: |
|
52 PARALLEL_DIRS += [ |
|
53 'tests', |
|
54 'tests/chrome', |
|
55 ] |