modules/libjar/moz.build
author Andreea Pavel <apavel@mozilla.com>
Tue, 21 Aug 2018 20:20:24 +0300
changeset 490366 d8a7212c51a48253bfa9551ecc9318a9536c62d4
parent 430036 1a4aac2956cf01f4280b9179cb495ac66cdf84ea
child 519925 191afe83da2e062951a2740d7cab68cf563ecfc7
permissions -rw-r--r--
Backed out 6 changesets (bug 1396821) for linux tier2 build bustages on a CLOSED TREE Backed out changeset 2fa2975f97e3 (bug 1396821) Backed out changeset c5895db52483 (bug 1396821) Backed out changeset 5c0ddd45f926 (bug 1396821) Backed out changeset 7c97853a85b9 (bug 1396821) Backed out changeset b61ce753f01e (bug 1396821) Backed out changeset 7ef3912feb2c (bug 1396821)

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'Networking: JAR')

if CONFIG['MOZ_ZIPWRITER']:
    DIRS += ['zipwriter']

MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']

XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']

XPIDL_SOURCES += [
    'nsIJARChannel.idl',
    'nsIJARProtocolHandler.idl',
    'nsIJARURI.idl',
    'nsIZipReader.idl',
]

XPIDL_MODULE = 'jar'

EXPORTS += [
    'nsJARURI.h',
    'nsZipArchive.h',
    'zipstruct.h',
]

UNIFIED_SOURCES += [
    'nsJAR.cpp',
    'nsJARChannel.cpp',
    'nsJARFactory.cpp',
    'nsJARInputStream.cpp',
    'nsJARProtocolHandler.cpp',
    'nsJARURI.cpp',
    'nsZipArchive.cpp',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'