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/. 6 7with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: File") 9 10DIRS += ['ipc', 'uri' ] 11 12EXPORTS.mozilla.dom += [ 13 'BaseBlobImpl.h', 14 'Blob.h', 15 'BlobImpl.h', 16 'BlobSet.h', 17 'EmptyBlobImpl.h', 18 'File.h', 19 'FileBlobImpl.h', 20 'FileCreatorHelper.h', 21 'FileList.h', 22 'FileReader.h', 23 'FileReaderSync.h', 24 'MemoryBlobImpl.h', 25 'MultipartBlobImpl.h', 26 'MutableBlobStorage.h', 27 'MutableBlobStreamListener.h', 28 'StreamBlobImpl.h', 29] 30 31UNIFIED_SOURCES += [ 32 'BaseBlobImpl.cpp', 33 'Blob.cpp', 34 'BlobImpl.cpp', 35 'BlobSet.cpp', 36 'EmptyBlobImpl.cpp', 37 'File.cpp', 38 'FileBlobImpl.cpp', 39 'FileCreatorHelper.cpp', 40 'FileList.cpp', 41 'FileReader.cpp', 42 'FileReaderSync.cpp', 43 'MemoryBlobImpl.cpp', 44 'MultipartBlobImpl.cpp', 45 'MutableBlobStorage.cpp', 46 'MutableBlobStreamListener.cpp', 47 'StreamBlobImpl.cpp', 48 'StringBlobImpl.cpp', 49 'TemporaryFileBlobImpl.cpp', 50] 51 52LOCAL_INCLUDES += [ 53 '/dom/file/ipc', 54] 55 56MOCHITEST_MANIFESTS += ['tests/mochitest.ini'] 57 58XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini'] 59 60include('/ipc/chromium/chromium-config.mozbuild') 61 62FINAL_LIBRARY = 'xul' 63