1 # -*- Mode: python; 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/.
8 "nsIAsyncInputStream.idl",
9 "nsIAsyncOutputStream.idl",
10 "nsIBinaryInputStream.idl",
11 "nsIBinaryOutputStream.idl",
12 "nsICloneableInputStream.idl",
13 "nsIConverterInputStream.idl",
14 "nsIConverterOutputStream.idl",
15 "nsIDirectoryEnumerator.idl",
16 "nsIDirectoryService.idl",
19 "nsIInputStreamLength.idl",
20 "nsIInputStreamPriority.idl",
21 "nsIInputStreamTee.idl",
23 "nsILineInputStream.idl",
24 "nsILocalFileWin.idl",
25 "nsIMultiplexInputStream.idl",
26 "nsIObjectInputStream.idl",
27 "nsIObjectOutputStream.idl",
28 "nsIOutputStream.idl",
30 "nsIRandomAccessStream.idl",
31 "nsISafeOutputStream.idl",
32 "nsIScriptableBase64Encoder.idl",
33 "nsIScriptableInputStream.idl",
34 "nsISeekableStream.idl",
35 "nsIStorageStream.idl",
36 "nsIStreamBufferAccess.idl",
37 "nsIStringStream.idl",
38 "nsITellableStream.idl",
39 "nsIUnicharInputStream.idl",
40 "nsIUnicharLineInputStream.idl",
41 "nsIUnicharOutputStream.idl",
44 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
46 "nsILocalFileMac.idl",
49 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
50 EXPORTS += ["nsLocalFileWin.h"]
59 EXPORTS += ["nsLocalFileUnix.h"]
61 "nsLocalFileUnix.cpp",
64 XPIDL_MODULE = "xpcom_io"
71 "FileDescriptorFile.h",
72 "nsAnonymousTemporaryFile.h",
73 "nsAppDirectoryServiceDefs.h",
74 "nsDirectoryService.h",
75 "nsDirectoryServiceDefs.h",
76 "nsDirectoryServiceUtils.h",
78 "nsLinebreakConverter.h",
80 "nsLocalFileCommon.h",
81 "nsMultiplexInputStream.h",
82 "nsNativeCharsetUtils.h",
83 "nsScriptableInputStream.h",
87 "nsUnicharInputStream.h",
89 "SpecialSystemDirectory.h",
95 "FixedBufferOutputStream.h",
96 "InputStreamLengthHelper.h",
97 "InputStreamLengthWrapper.h",
98 "NonBlockingAsyncInputStream.h",
99 "SlicedInputStream.h",
100 "SnappyCompressOutputStream.h",
101 "SnappyFrameUtils.h",
102 "SnappyUncompressInputStream.h",
103 "StreamBufferSink.h",
104 "StreamBufferSinkImpl.h",
105 "StreamBufferSource.h",
106 "StreamBufferSourceImpl.h",
112 "FileDescriptorFile.cpp",
113 "FilePreferences.cpp",
114 "FixedBufferOutputStream.cpp",
115 "InputStreamLengthHelper.cpp",
116 "InputStreamLengthWrapper.cpp",
117 "NonBlockingAsyncInputStream.cpp",
118 "nsAnonymousTemporaryFile.cpp",
119 "nsAppFileLocationProvider.cpp",
120 "nsBinaryStream.cpp",
121 "nsDirectoryService.cpp",
123 "nsInputStreamTee.cpp",
125 "nsLinebreakConverter.cpp",
126 "nsLocalFileCommon.cpp",
127 "nsMultiplexInputStream.cpp",
128 "nsNativeCharsetUtils.cpp",
130 "nsScriptableBase64Encoder.cpp",
131 "nsScriptableInputStream.cpp",
132 "nsSegmentedBuffer.cpp",
133 "nsStorageStream.cpp",
135 "nsStringStream.cpp",
136 "nsUnicharInputStream.cpp",
138 "SlicedInputStream.cpp",
139 "SnappyCompressOutputStream.cpp",
140 "SnappyFrameUtils.cpp",
141 "SnappyUncompressInputStream.cpp",
142 "SpecialSystemDirectory.cpp",
145 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
150 DEFINES["MOZ_APP_BASENAME"] = '"%s"' % CONFIG["MOZ_APP_BASENAME"]
152 include("/ipc/chromium/chromium-config.mozbuild")
154 FINAL_LIBRARY = "xul"
156 if CONFIG["OS_ARCH"] == "Linux" and "lib64" in CONFIG["libdir"]:
157 DEFINES["HAVE_USR_LIB64_DIR"] = True