2012-06-03 09:33:52 -07:00
|
|
|
# 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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-06-03 09:33:52 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-08-07 00:06:29 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2012-06-03 09:33:52 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = domfile_s
|
|
|
|
XPIDL_MODULE = dom_file
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/file
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
AsyncHelper.cpp \
|
|
|
|
DOMFileHandle.cpp \
|
|
|
|
File.cpp \
|
|
|
|
FileHandle.cpp \
|
|
|
|
FileHelper.cpp \
|
|
|
|
FileRequest.cpp \
|
|
|
|
FileService.cpp \
|
|
|
|
FileStreamWrappers.cpp \
|
|
|
|
LockedFile.cpp \
|
|
|
|
MemoryStreams.cpp \
|
|
|
|
MetadataHelper.cpp \
|
2012-07-27 17:21:34 -07:00
|
|
|
ArchiveEvent.cpp \
|
|
|
|
ArchiveZipEvent.cpp \
|
|
|
|
ArchiveZipFile.cpp \
|
|
|
|
ArchiveReader.cpp \
|
|
|
|
ArchiveRequest.cpp \
|
2012-06-03 09:33:52 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS = \
|
|
|
|
nsIFileStorage.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/file = \
|
|
|
|
DOMFileHandle.h \
|
|
|
|
File.h \
|
|
|
|
FileCommon.h \
|
|
|
|
FileHandle.h \
|
|
|
|
FileHelper.h \
|
|
|
|
FileService.h \
|
|
|
|
LockedFile.h \
|
2012-07-27 17:21:34 -07:00
|
|
|
ArchiveEvent.h \
|
|
|
|
ArchiveZipEvent.h \
|
|
|
|
ArchiveZipFile.h \
|
|
|
|
ArchiveReader.h \
|
|
|
|
ArchiveRequest.h \
|
2012-06-03 09:33:52 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIDOMFileHandle.idl \
|
|
|
|
nsIDOMFileRequest.idl \
|
|
|
|
nsIDOMLockedFile.idl \
|
2012-07-27 17:21:34 -07:00
|
|
|
nsIDOMArchiveReader.idl \
|
|
|
|
nsIDOMArchiveRequest.idl \
|
2012-06-03 09:33:52 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
TEST_DIRS += test
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|