moz.build (1086B)
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", "Networking: JAR") 9 10 if CONFIG["MOZ_ZIPWRITER"]: 11 DIRS += ["zipwriter"] 12 13 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] 14 15 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"] 16 17 XPIDL_SOURCES += [ 18 "nsIJARChannel.idl", 19 "nsIJARURI.idl", 20 "nsIZipReader.idl", 21 ] 22 23 XPIDL_MODULE = "jar" 24 25 EXPORTS += [ 26 "nsJARProtocolHandler.h", 27 "nsJARURI.h", 28 "nsZipArchive.h", 29 "zipstruct.h", 30 ] 31 32 UNIFIED_SOURCES += [ 33 "nsJAR.cpp", 34 "nsJARChannel.cpp", 35 "nsJARInputStream.cpp", 36 "nsJARProtocolHandler.cpp", 37 "nsJARURI.cpp", 38 "nsZipArchive.cpp", 39 ] 40 41 XPCOM_MANIFESTS += [ 42 "components.conf", 43 ] 44 45 include("/ipc/chromium/chromium-config.mozbuild") 46 include("/tools/fuzzing/libfuzzer-config.mozbuild") 47 48 FINAL_LIBRARY = "xul"