2016-12-01 17:12:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# 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/.
|
|
|
|
|
2017-03-01 16:20:25 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM")
|
|
|
|
|
2016-12-01 17:12:42 +03:00
|
|
|
DIRS += ['ipc']
|
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMBlob.idl',
|
|
|
|
'nsIDOMFileList.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom_file'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsHostObjectProtocolHandler.h',
|
|
|
|
'nsHostObjectURI.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
2017-02-16 20:26:38 +03:00
|
|
|
'BaseBlobImpl.h',
|
|
|
|
'Blob.h',
|
|
|
|
'BlobImpl.h',
|
2016-12-01 17:12:42 +03:00
|
|
|
'BlobSet.h',
|
|
|
|
'File.h',
|
2017-02-16 20:26:38 +03:00
|
|
|
'FileBlobImpl.h',
|
2017-02-08 12:19:01 +03:00
|
|
|
'FileCreatorHelper.h',
|
2016-12-01 17:12:42 +03:00
|
|
|
'FileList.h',
|
|
|
|
'FileReader.h',
|
2017-02-16 20:26:38 +03:00
|
|
|
'MemoryBlobImpl.h',
|
2017-02-06 13:07:54 +03:00
|
|
|
'MultipartBlobImpl.h',
|
2016-12-01 17:12:42 +03:00
|
|
|
'MutableBlobStorage.h',
|
|
|
|
'MutableBlobStreamListener.h',
|
2017-08-29 18:56:49 +03:00
|
|
|
'StreamBlobImpl.h',
|
2016-12-01 17:12:42 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2017-02-16 20:26:38 +03:00
|
|
|
'BaseBlobImpl.cpp',
|
|
|
|
'Blob.cpp',
|
|
|
|
'BlobImpl.cpp',
|
2016-12-01 17:12:42 +03:00
|
|
|
'BlobSet.cpp',
|
2017-02-16 20:26:38 +03:00
|
|
|
'EmptyBlobImpl.cpp',
|
2016-12-01 17:12:42 +03:00
|
|
|
'File.cpp',
|
2017-02-16 20:26:38 +03:00
|
|
|
'FileBlobImpl.cpp',
|
2017-02-08 12:19:01 +03:00
|
|
|
'FileCreatorHelper.cpp',
|
2016-12-01 17:12:42 +03:00
|
|
|
'FileList.cpp',
|
|
|
|
'FileReader.cpp',
|
2017-02-16 20:26:38 +03:00
|
|
|
'MemoryBlobImpl.cpp',
|
2016-12-01 17:12:42 +03:00
|
|
|
'MultipartBlobImpl.cpp',
|
|
|
|
'MutableBlobStorage.cpp',
|
|
|
|
'MutableBlobStreamListener.cpp',
|
|
|
|
'nsHostObjectProtocolHandler.cpp',
|
|
|
|
'nsHostObjectURI.cpp',
|
2017-02-16 20:26:38 +03:00
|
|
|
'StreamBlobImpl.cpp',
|
|
|
|
'StringBlobImpl.cpp',
|
2017-10-05 08:41:42 +03:00
|
|
|
'TemporaryFileBlobImpl.cpp',
|
2016-12-01 17:12:42 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2017-10-05 08:41:42 +03:00
|
|
|
'/dom/file/ipc',
|
2016-12-01 17:12:42 +03:00
|
|
|
'/dom/workers',
|
|
|
|
]
|
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
|
2017-04-01 22:11:53 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
|
|
|
|
|
2016-12-01 17:12:42 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|