moz.build (1157B)
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 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: File") 9 10 DIRS += ["compat"] 11 12 TEST_DIRS += ["tests"] 13 14 EXPORTS.mozilla.dom += [ 15 "Directory.h", 16 "FileSystemBase.h", 17 "FileSystemRequestParent.h", 18 "FileSystemSecurity.h", 19 "FileSystemTaskBase.h", 20 "FileSystemUtils.h", 21 "GetFilesHelper.h", 22 "OSFileSystem.h", 23 ] 24 25 UNIFIED_SOURCES += [ 26 "Directory.cpp", 27 "FileSystemBase.cpp", 28 "FileSystemRequestParent.cpp", 29 "FileSystemSecurity.cpp", 30 "FileSystemTaskBase.cpp", 31 "FileSystemUtils.cpp", 32 "GetDirectoryListingTask.cpp", 33 "GetFileOrDirectoryTask.cpp", 34 "GetFilesHelper.cpp", 35 "GetFilesTask.cpp", 36 "OSFileSystem.cpp", 37 ] 38 39 FINAL_LIBRARY = "xul" 40 41 IPDL_SOURCES += [ 42 "PFileSystemParams.ipdlh", 43 "PFileSystemRequest.ipdl", 44 ] 45 46 include("/ipc/chromium/chromium-config.mozbuild") 47 48 LOCAL_INCLUDES += [ 49 "/dom/base", 50 ]