Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 # -*- Mode: python; c-basic-offset: 4; 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 if CONFIG['MOZ_ZIPWRITER']:
8 DIRS += ['zipwriter']
10 TEST_TOOL_DIRS += ['test']
12 XPIDL_SOURCES += [
13 'nsIJARChannel.idl',
14 'nsIJARProtocolHandler.idl',
15 'nsIJARURI.idl',
16 'nsIZipReader.idl',
17 ]
19 XPIDL_MODULE = 'jar'
20 LIBRARY_NAME = 'jar'
22 EXPORTS += [
23 'nsJARURI.h',
24 'nsZipArchive.h',
25 'zipstruct.h',
26 ]
28 UNIFIED_SOURCES += [
29 'nsJARProtocolHandler.cpp',
30 'nsJARURI.cpp',
31 ]
33 # These files cannot be built in unified mode because they rely on plarena.h.
34 SOURCES += [
35 'nsJAR.cpp',
36 'nsJARChannel.cpp',
37 'nsJARFactory.cpp',
38 'nsJARInputStream.cpp',
39 'nsZipArchive.cpp',
40 ]
42 FAIL_ON_WARNINGS = True
44 MSVC_ENABLE_PGO = True
46 include('/ipc/chromium/chromium-config.mozbuild')
48 FINAL_LIBRARY = 'xul'