From 6b7ae85c68efdcc24a112981d3830cb2862d4ac9 Mon Sep 17 00:00:00 2001 From: panqiangbiao Date: Wed, 26 Jan 2022 11:20:22 +0800 Subject: [PATCH] replace ohos.build with bundle.json Signed-off-by: panqiangbiao --- bundle.json | 41 ++++++++++++++++++++ ohos.build | 12 ------ {sa_profile => services/sa_profile}/5010.xml | 0 {sa_profile => services/sa_profile}/BUILD.gn | 0 4 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 bundle.json delete mode 100644 ohos.build rename {sa_profile => services/sa_profile}/5010.xml (100%) rename {sa_profile => services/sa_profile}/BUILD.gn (100%) diff --git a/bundle.json b/bundle.json new file mode 100644 index 00000000..4e48b783 --- /dev/null +++ b/bundle.json @@ -0,0 +1,41 @@ +{ + "name": "@ohos/filemanagement", + "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": "filemanagement", + "subsystem": "filemanagement", + "syscap": [ + "SystemCapability.FileManagement.FileManagerService" + ], + "adapted_system_type": [ + "standard" + ], + "rom": "", + "ram": "", + "deps": { + "components": [ + "ability_runtime", + "hiviewdfx_hilog_native", + "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" + ] + } + } +} \ No newline at end of file diff --git a/ohos.build b/ohos.build deleted file mode 100644 index afb6d04c..00000000 --- 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 -- Gitee