Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | if CONFIG['MOZ_ZIPWRITER']: |
michael@0 | 8 | DIRS += ['zipwriter'] |
michael@0 | 9 | |
michael@0 | 10 | TEST_TOOL_DIRS += ['test'] |
michael@0 | 11 | |
michael@0 | 12 | XPIDL_SOURCES += [ |
michael@0 | 13 | 'nsIJARChannel.idl', |
michael@0 | 14 | 'nsIJARProtocolHandler.idl', |
michael@0 | 15 | 'nsIJARURI.idl', |
michael@0 | 16 | 'nsIZipReader.idl', |
michael@0 | 17 | ] |
michael@0 | 18 | |
michael@0 | 19 | XPIDL_MODULE = 'jar' |
michael@0 | 20 | LIBRARY_NAME = 'jar' |
michael@0 | 21 | |
michael@0 | 22 | EXPORTS += [ |
michael@0 | 23 | 'nsJARURI.h', |
michael@0 | 24 | 'nsZipArchive.h', |
michael@0 | 25 | 'zipstruct.h', |
michael@0 | 26 | ] |
michael@0 | 27 | |
michael@0 | 28 | UNIFIED_SOURCES += [ |
michael@0 | 29 | 'nsJARProtocolHandler.cpp', |
michael@0 | 30 | 'nsJARURI.cpp', |
michael@0 | 31 | ] |
michael@0 | 32 | |
michael@0 | 33 | # These files cannot be built in unified mode because they rely on plarena.h. |
michael@0 | 34 | SOURCES += [ |
michael@0 | 35 | 'nsJAR.cpp', |
michael@0 | 36 | 'nsJARChannel.cpp', |
michael@0 | 37 | 'nsJARFactory.cpp', |
michael@0 | 38 | 'nsJARInputStream.cpp', |
michael@0 | 39 | 'nsZipArchive.cpp', |
michael@0 | 40 | ] |
michael@0 | 41 | |
michael@0 | 42 | FAIL_ON_WARNINGS = True |
michael@0 | 43 | |
michael@0 | 44 | MSVC_ENABLE_PGO = True |
michael@0 | 45 | |
michael@0 | 46 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 47 | |
michael@0 | 48 | FINAL_LIBRARY = 'xul' |