2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +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/.
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIAsyncInputStream.idl',
|
|
|
|
'nsIAsyncOutputStream.idl',
|
|
|
|
'nsIBinaryInputStream.idl',
|
|
|
|
'nsIBinaryOutputStream.idl',
|
|
|
|
'nsIConverterInputStream.idl',
|
|
|
|
'nsIConverterOutputStream.idl',
|
|
|
|
'nsIDirectoryEnumerator.idl',
|
|
|
|
'nsIDirectoryService.idl',
|
|
|
|
'nsIFile.idl',
|
|
|
|
'nsIInputStream.idl',
|
|
|
|
'nsIInputStreamTee.idl',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsIIOUtil.idl',
|
2013-03-12 21:17:46 +04:00
|
|
|
'nsILineInputStream.idl',
|
|
|
|
'nsILocalFile.idl',
|
|
|
|
'nsILocalFileWin.idl',
|
|
|
|
'nsIMultiplexInputStream.idl',
|
|
|
|
'nsIObjectInputStream.idl',
|
|
|
|
'nsIObjectOutputStream.idl',
|
|
|
|
'nsIOutputStream.idl',
|
|
|
|
'nsIPipe.idl',
|
|
|
|
'nsISafeOutputStream.idl',
|
|
|
|
'nsIScriptableBase64Encoder.idl',
|
|
|
|
'nsIScriptableInputStream.idl',
|
|
|
|
'nsISeekableStream.idl',
|
|
|
|
'nsISimpleUnicharStreamFactory.idl',
|
|
|
|
'nsIStorageStream.idl',
|
|
|
|
'nsIStreamBufferAccess.idl',
|
|
|
|
'nsIStringStream.idl',
|
|
|
|
'nsIUnicharInputStream.idl',
|
|
|
|
'nsIUnicharLineInputStream.idl',
|
|
|
|
'nsIUnicharOutputStream.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 21:20:41 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'os2':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsILocalFileOS2.idl',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsILocalFileMac.idl',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'os2':
|
|
|
|
EXPORTS += ['nsLocalFileOS2.h']
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsLocalFileOS2.cpp',
|
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
EXPORTS += ['nsLocalFileWin.h']
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsLocalFileWin.cpp',
|
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
else:
|
|
|
|
EXPORTS += ['nsLocalFileUnix.h']
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsLocalFileUnix.cpp',
|
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'xpcom_io'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsAnonymousTemporaryFile.h',
|
|
|
|
'nsAppDirectoryServiceDefs.h',
|
|
|
|
'nsDirectoryService.h',
|
|
|
|
'nsDirectoryServiceAtomList.h',
|
2013-07-02 01:24:53 +04:00
|
|
|
'nsDirectoryServiceDefs.h',
|
|
|
|
'nsDirectoryServiceUtils.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsEscape.h',
|
|
|
|
'nsLinebreakConverter.h',
|
|
|
|
'nsLocalFile.h',
|
|
|
|
'nsMultiplexInputStream.h',
|
|
|
|
'nsNativeCharsetUtils.h',
|
|
|
|
'nsScriptableInputStream.h',
|
|
|
|
'nsStorageStream.h',
|
|
|
|
'nsStreamUtils.h',
|
|
|
|
'nsStringStream.h',
|
|
|
|
'nsUnicharInputStream.h',
|
|
|
|
'nsWildCard.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'SpecialSystemDirectory.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'Base64.h',
|
|
|
|
]
|
|
|
|
|
2013-11-19 06:34:00 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'Base64.cpp',
|
|
|
|
'nsAnonymousTemporaryFile.cpp',
|
|
|
|
'nsAppFileLocationProvider.cpp',
|
|
|
|
'nsBinaryStream.cpp',
|
|
|
|
'nsDirectoryService.cpp',
|
|
|
|
'nsEscape.cpp',
|
|
|
|
'nsInputStreamTee.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsIOUtil.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsLinebreakConverter.cpp',
|
|
|
|
'nsLocalFileCommon.cpp',
|
|
|
|
'nsMultiplexInputStream.cpp',
|
|
|
|
'nsNativeCharsetUtils.cpp',
|
|
|
|
'nsPipe3.cpp',
|
|
|
|
'nsScriptableBase64Encoder.cpp',
|
|
|
|
'nsScriptableInputStream.cpp',
|
|
|
|
'nsSegmentedBuffer.cpp',
|
|
|
|
'nsStorageStream.cpp',
|
|
|
|
'nsStreamUtils.cpp',
|
|
|
|
'nsStringStream.cpp',
|
|
|
|
'nsUnicharInputStream.cpp',
|
|
|
|
'nsWildCard.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'SpecialSystemDirectory.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-06-07 19:43:39 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-06-07 19:43:39 +04:00
|
|
|
'CocoaFileUtils.mm',
|
|
|
|
]
|
2013-08-22 10:56:01 +04:00
|
|
|
|
2013-11-26 21:53:54 +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 = 'xpcom_core'
|