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
7with Files("*"):
8    BUG_COMPONENT = ("Core", "DOM: Serializers")
9
10XPIDL_SOURCES += [
11    "nsIDocumentEncoder.idl",
12]
13
14XPIDL_MODULE = "dom_serializers"
15
16EXPORTS += [
17    "nsDOMSerializer.h",
18    "nsHTMLContentSerializer.h",
19    "nsIContentSerializer.h",
20    "nsPlainTextSerializer.h",
21    "nsXHTMLContentSerializer.h",
22    "nsXMLContentSerializer.h",
23]
24
25UNIFIED_SOURCES += [
26    "nsDocumentEncoder.cpp",
27    "nsDOMSerializer.cpp",
28    "nsHTMLContentSerializer.cpp",
29    "nsPlainTextSerializer.cpp",
30    "nsXHTMLContentSerializer.cpp",
31    "nsXMLContentSerializer.cpp",
32]
33
34FINAL_LIBRARY = "xul"
35