2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ZIPWRITER']:
|
|
|
|
DIRS += ['zipwriter']
|
|
|
|
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['test']
|
2013-03-12 21:17:46 +04:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
2013-06-25 19:19:04 +04:00
|
|
|
'nsIJARChannel.idl',
|
|
|
|
'nsIJARProtocolHandler.idl',
|
|
|
|
'nsIJARURI.idl',
|
|
|
|
'nsIZipReader.idl',
|
2013-03-12 21:17:46 +04:00
|
|
|
]
|
|
|
|
|
2013-11-19 06:47:43 +04:00
|
|
|
XPIDL_MODULE = 'jar'
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsJARURI.h',
|
|
|
|
'nsZipArchive.h',
|
2013-05-03 20:54:45 +04:00
|
|
|
'zipstruct.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-04-24 01:54:15 +04:00
|
|
|
|
2013-11-13 10:30:37 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-11-22 01:36:59 +04:00
|
|
|
'nsJARProtocolHandler.cpp',
|
|
|
|
'nsJARURI.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
# These files cannot be built in unified mode because they rely on plarena.h.
|
|
|
|
SOURCES += [
|
2013-06-25 19:19:04 +04:00
|
|
|
'nsJAR.cpp',
|
|
|
|
'nsJARChannel.cpp',
|
|
|
|
'nsJARFactory.cpp',
|
|
|
|
'nsJARInputStream.cpp',
|
|
|
|
'nsZipArchive.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|