moz.build (992B)
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 7 with Files("*"): 8 BUG_COMPONENT = ("Core", "DOM: Serializers") 9 10 XPIDL_SOURCES += [ 11 "nsIDocumentEncoder.idl", 12 ] 13 14 XPIDL_MODULE = "dom_serializers" 15 16 EXPORTS += [ 17 "nsDOMSerializer.h", 18 "nsHTMLContentSerializer.h", 19 "nsIContentSerializer.h", 20 "nsPlainTextSerializer.h", 21 "nsXHTMLContentSerializer.h", 22 "nsXMLContentSerializer.h", 23 ] 24 25 UNIFIED_SOURCES += [ 26 "nsDocumentEncoder.cpp", 27 "nsDOMSerializer.cpp", 28 "nsHTMLContentSerializer.cpp", 29 "nsPlainTextSerializer.cpp", 30 "nsXHTMLContentSerializer.cpp", 31 "nsXMLContentSerializer.cpp", 32 ] 33 34 TEST_DIRS += [ 35 "gtest", 36 "tests/mochitest", 37 ] 38 39 FINAL_LIBRARY = "xul" 40 41 CRASHTEST_MANIFESTS += ["crashtests/crashtests.list"]