xpcom/io/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 XPIDL_SOURCES += [
michael@0 8 'nsIAsyncInputStream.idl',
michael@0 9 'nsIAsyncOutputStream.idl',
michael@0 10 'nsIBinaryInputStream.idl',
michael@0 11 'nsIBinaryOutputStream.idl',
michael@0 12 'nsIConverterInputStream.idl',
michael@0 13 'nsIConverterOutputStream.idl',
michael@0 14 'nsIDirectoryEnumerator.idl',
michael@0 15 'nsIDirectoryService.idl',
michael@0 16 'nsIFile.idl',
michael@0 17 'nsIInputStream.idl',
michael@0 18 'nsIInputStreamTee.idl',
michael@0 19 'nsIIOUtil.idl',
michael@0 20 'nsILineInputStream.idl',
michael@0 21 'nsILocalFile.idl',
michael@0 22 'nsILocalFileWin.idl',
michael@0 23 'nsIMultiplexInputStream.idl',
michael@0 24 'nsIObjectInputStream.idl',
michael@0 25 'nsIObjectOutputStream.idl',
michael@0 26 'nsIOutputStream.idl',
michael@0 27 'nsIPipe.idl',
michael@0 28 'nsISafeOutputStream.idl',
michael@0 29 'nsIScriptableBase64Encoder.idl',
michael@0 30 'nsIScriptableInputStream.idl',
michael@0 31 'nsISeekableStream.idl',
michael@0 32 'nsISimpleUnicharStreamFactory.idl',
michael@0 33 'nsIStorageStream.idl',
michael@0 34 'nsIStreamBufferAccess.idl',
michael@0 35 'nsIStringStream.idl',
michael@0 36 'nsIUnicharInputStream.idl',
michael@0 37 'nsIUnicharLineInputStream.idl',
michael@0 38 'nsIUnicharOutputStream.idl',
michael@0 39 ]
michael@0 40
michael@0 41 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
michael@0 42 XPIDL_SOURCES += [
michael@0 43 'nsILocalFileMac.idl',
michael@0 44 ]
michael@0 45
michael@0 46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
michael@0 47 EXPORTS += ['nsLocalFileWin.h']
michael@0 48 EXPORTS.mozilla += [
michael@0 49 'FileUtilsWin.h',
michael@0 50 ]
michael@0 51 SOURCES += [
michael@0 52 'FileUtilsWin.cpp',
michael@0 53 'nsLocalFileWin.cpp',
michael@0 54 ]
michael@0 55 else:
michael@0 56 EXPORTS += ['nsLocalFileUnix.h']
michael@0 57 SOURCES += [
michael@0 58 'nsLocalFileUnix.cpp',
michael@0 59 ]
michael@0 60
michael@0 61 XPIDL_MODULE = 'xpcom_io'
michael@0 62
michael@0 63 EXPORTS += [
michael@0 64 'nsAnonymousTemporaryFile.h',
michael@0 65 'nsAppDirectoryServiceDefs.h',
michael@0 66 'nsDirectoryService.h',
michael@0 67 'nsDirectoryServiceAtomList.h',
michael@0 68 'nsDirectoryServiceDefs.h',
michael@0 69 'nsDirectoryServiceUtils.h',
michael@0 70 'nsEscape.h',
michael@0 71 'nsLinebreakConverter.h',
michael@0 72 'nsLocalFile.h',
michael@0 73 'nsMultiplexInputStream.h',
michael@0 74 'nsNativeCharsetUtils.h',
michael@0 75 'nsScriptableInputStream.h',
michael@0 76 'nsStorageStream.h',
michael@0 77 'nsStreamUtils.h',
michael@0 78 'nsStringStream.h',
michael@0 79 'nsUnicharInputStream.h',
michael@0 80 'nsWildCard.h',
michael@0 81 'SpecialSystemDirectory.h',
michael@0 82 ]
michael@0 83
michael@0 84 EXPORTS.mozilla += [
michael@0 85 'Base64.h',
michael@0 86 ]
michael@0 87
michael@0 88 UNIFIED_SOURCES += [
michael@0 89 'Base64.cpp',
michael@0 90 'nsAnonymousTemporaryFile.cpp',
michael@0 91 'nsAppFileLocationProvider.cpp',
michael@0 92 'nsBinaryStream.cpp',
michael@0 93 'nsDirectoryService.cpp',
michael@0 94 'nsEscape.cpp',
michael@0 95 'nsInputStreamTee.cpp',
michael@0 96 'nsIOUtil.cpp',
michael@0 97 'nsLinebreakConverter.cpp',
michael@0 98 'nsLocalFileCommon.cpp',
michael@0 99 'nsMultiplexInputStream.cpp',
michael@0 100 'nsNativeCharsetUtils.cpp',
michael@0 101 'nsPipe3.cpp',
michael@0 102 'nsScriptableBase64Encoder.cpp',
michael@0 103 'nsScriptableInputStream.cpp',
michael@0 104 'nsSegmentedBuffer.cpp',
michael@0 105 'nsStorageStream.cpp',
michael@0 106 'nsStreamUtils.cpp',
michael@0 107 'nsStringStream.cpp',
michael@0 108 'nsUnicharInputStream.cpp',
michael@0 109 'nsWildCard.cpp',
michael@0 110 'SpecialSystemDirectory.cpp',
michael@0 111 ]
michael@0 112
michael@0 113 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
michael@0 114 SOURCES += [
michael@0 115 'CocoaFileUtils.mm',
michael@0 116 ]
michael@0 117
michael@0 118 FAIL_ON_WARNINGS = True
michael@0 119
michael@0 120 MSVC_ENABLE_PGO = True
michael@0 121
michael@0 122 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 123
michael@0 124 FINAL_LIBRARY = 'xpcom_core'
michael@0 125
michael@0 126 if CONFIG['OS_ARCH'] == 'Linux' and 'lib64' in CONFIG['libdir']:
michael@0 127 DEFINES['HAVE_USR_LIB64_DIR'] = True
michael@0 128
michael@0 129 LOCAL_INCLUDES += [
michael@0 130 '../build'
michael@0 131 ]
michael@0 132
michael@0 133 GENERATED_INCLUDES += ['..']

mercurial