diff --git a/BUILD.gn b/BUILD.gn new file mode 100644 index 0000000000000000000000000000000000000000..a05a5c7c54647969147bc6e7712d1429aa9b2dfe --- /dev/null +++ b/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright (c) 2022 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import("//build/ohos.gni") diff --git a/README_zh.md b/README_zh.md index 7a36a5eb621a0dc5e70c8c6e9de2c735f48f13c3..6b659a73f1daa32d97977b92f9359080f57d4a20 100644 --- a/README_zh.md +++ b/README_zh.md @@ -26,9 +26,8 @@ ├── interfaces # 接口代码 │   ├── innerkits # 内部 Native 接口 │   └── kits # 外部 JS 接口 -├── LICENSE # 证书文件 -├── ohos.build # 编译文件 -└── sa_profile # 服务配置文件 +├── BUILD.gn # 编译入口 +└── bundle.json # 部件描述文件 ``` ## 说明 ### 使用说明 diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000000000000000000000000000000000000..dc9b3a90ce808f83d8d73abb07618584e9276aea --- /dev/null +++ b/bundle.json @@ -0,0 +1,41 @@ +{ + "name": "@ohos/user_file_service", + "description": "filemanagement is the module of OpenHarmony that provides storage and file management.", + "version": "3.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "foundation/filemanagement/user_file_service" + }, + "dirs": {}, + "scripts": {}, + "component": { + "name": "user_file_service", + "subsystem": "filemanagement", + "syscap": [ + "SystemCapability.FileManagement.FileManagerService" + ], + "adapted_system_type": [ + "standard" + ], + "rom": "", + "ram": "", + "deps": { + "components": [ + "ability_runtime", + "hiviewdfx", + "ipc", + "native_appdatamgr", + "safwk", + "samgr_standard" + ] + }, + "build": { + "sub_component": [ + "//foundation/filemanagement/user_file_service/services:fms", + "//foundation/filemanagement/user_file_service/services/sa_profile:filemanager_service_sa_profile", + "//foundation/filemanagement/user_file_service/interfaces/kits/js:filemanager" + ] + } + } +} diff --git a/ohos.build b/ohos.build deleted file mode 100644 index afb6d04cb0aea37c7dad9e416f87a148dadc135f..0000000000000000000000000000000000000000 --- a/ohos.build +++ /dev/null @@ -1,12 +0,0 @@ -{ - "subsystem": "filemanagement", - "parts": { - "user_file_service": { - "module_list": [ - "//foundation/filemanagement/user_file_service/services:fms", - "//foundation/filemanagement/user_file_service/sa_profile:filemanager_service_sa_profile", - "//foundation/filemanagement/user_file_service/interfaces/kits/js:filemanager" - ] - } - } -} diff --git a/sa_profile/5010.xml b/services/sa_profile/5010.xml similarity index 100% rename from sa_profile/5010.xml rename to services/sa_profile/5010.xml diff --git a/sa_profile/BUILD.gn b/services/sa_profile/BUILD.gn similarity index 100% rename from sa_profile/BUILD.gn rename to services/sa_profile/BUILD.gn