Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
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/.
7 XPIDL_SOURCES += [
8 'nsIParserUtils.idl',
9 'nsIScriptableUnescapeHTML.idl',
10 ]
12 XPIDL_MODULE = 'html5'
14 EXPORTS += [
15 'jArray.h',
16 'nsAHtml5TreeBuilderState.h',
17 'nsAHtml5TreeOpSink.h',
18 'nsHtml5ArrayCopy.h',
19 'nsHtml5AtomList.h',
20 'nsHtml5Atoms.h',
21 'nsHtml5AtomTable.h',
22 'nsHtml5ByteReadable.h',
23 'nsHtml5DependentUTF16Buffer.h',
24 'nsHtml5DocumentBuilder.h',
25 'nsHtml5DocumentMode.h',
26 'nsHtml5HtmlAttributes.h',
27 'nsHtml5Macros.h',
28 'nsHtml5MetaScanner.h',
29 'nsHtml5MetaScannerHSupplement.h',
30 'nsHtml5Module.h',
31 'nsHtml5NamedCharacters.h',
32 'nsHtml5NamedCharactersAccel.h',
33 'nsHtml5OplessBuilder.h',
34 'nsHtml5OwningUTF16Buffer.h',
35 'nsHtml5Parser.h',
36 'nsHtml5PendingNotification.h',
37 'nsHtml5PlainTextUtils.h',
38 'nsHtml5RefPtr.h',
39 'nsHtml5Speculation.h',
40 'nsHtml5SpeculativeLoad.h',
41 'nsHtml5StreamListener.h',
42 'nsHtml5StreamParser.h',
43 'nsHtml5StringParser.h',
44 'nsHtml5SVGLoadDispatcher.h',
45 'nsHtml5TreeOperation.h',
46 'nsHtml5TreeOpExecutor.h',
47 'nsHtml5TreeOpStage.h',
48 'nsHtml5UTF16Buffer.h',
49 'nsHtml5UTF16BufferHSupplement.h',
50 'nsHtml5ViewSourceUtils.h',
51 'nsIContentHandle.h',
52 'nsParserUtils.h',
53 ]
55 UNIFIED_SOURCES += [
56 'nsHtml5Atom.cpp',
57 'nsHtml5Atoms.cpp',
58 'nsHtml5AtomTable.cpp',
59 'nsHtml5AttributeName.cpp',
60 'nsHtml5DependentUTF16Buffer.cpp',
61 'nsHtml5DocumentBuilder.cpp',
62 'nsHtml5ElementName.cpp',
63 'nsHtml5Highlighter.cpp',
64 'nsHtml5HtmlAttributes.cpp',
65 'nsHtml5MetaScanner.cpp',
66 'nsHtml5Module.cpp',
67 'nsHtml5NamedCharacters.cpp',
68 'nsHtml5NamedCharactersAccel.cpp',
69 'nsHtml5OplessBuilder.cpp',
70 'nsHtml5OwningUTF16Buffer.cpp',
71 'nsHtml5Parser.cpp',
72 'nsHtml5PlainTextUtils.cpp',
73 'nsHtml5Portability.cpp',
74 'nsHtml5ReleasableAttributeName.cpp',
75 'nsHtml5ReleasableElementName.cpp',
76 'nsHtml5Speculation.cpp',
77 'nsHtml5SpeculativeLoad.cpp',
78 'nsHtml5StackNode.cpp',
79 'nsHtml5StateSnapshot.cpp',
80 'nsHtml5StreamListener.cpp',
81 'nsHtml5StreamParser.cpp',
82 'nsHtml5StringParser.cpp',
83 'nsHtml5SVGLoadDispatcher.cpp',
84 'nsHtml5Tokenizer.cpp',
85 'nsHtml5TreeBuilder.cpp',
86 'nsHtml5TreeOperation.cpp',
87 'nsHtml5TreeOpExecutor.cpp',
88 'nsHtml5TreeOpStage.cpp',
89 'nsHtml5UTF16Buffer.cpp',
90 'nsHtml5ViewSourceUtils.cpp',
91 'nsParserUtils.cpp',
92 ]
94 MSVC_ENABLE_PGO = True
96 FINAL_LIBRARY = 'gklayout'
98 # DEFINES['ENABLE_VOID_MENUITEM'] = True
100 LOCAL_INCLUDES += [
101 '../../content/base/src',
102 ]