Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / modules / libjar / moz.build
blobc99c8931693357cc26ba27e6ad0db24ec714fbf7
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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Networking: JAR")
10 if CONFIG["MOZ_ZIPWRITER"]:
11     DIRS += ["zipwriter"]
13 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]
15 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
17 XPIDL_SOURCES += [
18     "nsIJARChannel.idl",
19     "nsIJARURI.idl",
20     "nsIZipReader.idl",
23 XPIDL_MODULE = "jar"
25 EXPORTS += [
26     "nsJARProtocolHandler.h",
27     "nsJARURI.h",
28     "nsZipArchive.h",
29     "zipstruct.h",
32 UNIFIED_SOURCES += [
33     "nsJAR.cpp",
34     "nsJARChannel.cpp",
35     "nsJARInputStream.cpp",
36     "nsJARProtocolHandler.cpp",
37     "nsJARURI.cpp",
38     "nsZipArchive.cpp",
41 XPCOM_MANIFESTS += [
42     "components.conf",
45 include("/ipc/chromium/chromium-config.mozbuild")
46 include("/tools/fuzzing/libfuzzer-config.mozbuild")
48 FINAL_LIBRARY = "xul"