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