1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15import("//build/ohos_var.gni") 16 17config("public_config") { 18 include_dirs = [ "." ] 19} 20 21config("private_config") { 22 include_dirs = [ 23 "../../../../services/storage_manager/include", 24 "../../../../services/storage_manager/include", 25 "../../../../services/storage_daemon/include", 26 "../../../../services/common/include", 27 ] 28} 29 30ohos_shared_library("storage_manager_acl") { 31 sources = [ 32 "../../../../services/storage_daemon/file_sharing/src/acl.cpp", 33 "../../../../services/storage_daemon/file_sharing/src/setacl.cpp", 34 "../../../../services/storage_daemon/utils/file_utils.cpp", 35 ] 36 37 defines = [ 38 "STORAGE_LOG_TAG = \"StorageManager\"", 39 "LOG_DOMAIN = 0xD004300", 40 ] 41 42 configs = [ ":private_config" ] 43 public_configs = [ ":public_config" ] 44 45 external_deps = [ 46 "c_utils:utils", 47 "hilog:libhilog", 48 "ipc:ipc_core", 49 ] 50 51 innerapi_tags = [ "platformsdk" ] 52 part_name = "storage_service" 53 subsystem_name = "filemanagement" 54} 55