1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# 3# This program is free software; you can redistribute it and/or modify 4# it under the terms of the GNU General Public License as published by 5# the Free Software Foundation; either version 2 of the License, or 6# (at your option) any later version. 7# 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11# GNU General Public License for more details. 12# 13# You should have received a copy of the GNU General Public License 14# along with this program (in the main directory of the NTFS-3G 15# distribution in the file COPYING); if not, write to the Free Software 16# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 18import("//build/ohos.gni") 19config("ntfs_default") { 20 cflags = [ 21 "-Wno-error", 22 "-Wno-address-of-packed-member", 23 "-D_LARGEFILE_SOURCE", 24 "-D_FILE_OFFSET_BITS=64", 25 "-DHAVE_CONFIG_H", 26 ] 27 28 include_dirs = [ 29 "../include", 30 "../include/fuse-lite", 31 "..", 32 ] 33} 34 35ohos_static_library("libfuse_lite") { 36 sources = [ 37 "fuse.c", 38 "fuse_kern_chan.c", 39 "fuse_loop.c", 40 "fuse_lowlevel.c", 41 "fuse_opt.c", 42 "fuse_session.c", 43 "fuse_signals.c", 44 "fusermount.c", 45 "helper.c", 46 "mount.c", 47 "mount_util.c", 48 ] 49 configs = [ ":ntfs_default" ] 50 51 subsystem_name = "filemanagement" 52 part_name = "storage_service" 53} 54