From 5fb363915acad6a88c919d141f49e27c5644608d Mon Sep 17 00:00:00 2001 From: chenming Date: Mon, 17 Jan 2022 19:26:24 +0800 Subject: [PATCH] add compenent json Signed-off-by: chenming --- bundle.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ ohos.build | 17 ----------------- 2 files changed, 49 insertions(+), 17 deletions(-) create mode 100644 bundle.json delete mode 100644 ohos.build diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000..fbff838 --- /dev/null +++ b/bundle.json @@ -0,0 +1,49 @@ +{ + "name": "@ohos/work_scheduler", + "description": "work scheduler service", + "version": "3.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath" : "foundation/resourceschedule/work_scheduler" + }, + "dirs": {}, + "scripts": {}, + "component": { + "name": "work_scheduler", + "subsystem": "resourceschedule", + "syscap": [ "SystemCapability.Ressched.WorkScheduler" ], + "features": [], + "adapted_system_type": [ + "mini", + "small", + "standard" + ], + "rom": "2048KB", + "ram": "10240KB", + "deps": { + "components": [ + "hiviewdfx_hilog_native", + "ipc", + "napi", + "safwk", + "samgr_standard", + "utils_base" + ], + "third_party": [ "googletest" ] + }, + "build": { + "sub_component": [ + "//foundation/resourceschedule/work_scheduler/services:workschedservice", + "//foundation/resourceschedule/work_scheduler/sa_profile:worksched_sa_profile", + "//foundation/resourceschedule/work_scheduler/sa_profile:work_scheduler_service_init", + "//foundation/resourceschedule/work_scheduler/interfaces/kits/js:workscheduler", + "//foundation/resourceschedule/work_scheduler/interfaces/kits/js:workscheduler_js" + ], + "inner_kits": [], + "test": [ + "//foundation/resourceschedule/work_scheduler/test/constanttest:constanttest" + ] + } + } +} \ No newline at end of file diff --git a/ohos.build b/ohos.build deleted file mode 100644 index 9ead050..0000000 --- a/ohos.build +++ /dev/null @@ -1,17 +0,0 @@ -{ - "subsystem": "resourceschedule", - "parts": { - "work_scheduler": { - "module_list": [ - "//foundation/resourceschedule/work_scheduler/services:workschedservice", - "//foundation/resourceschedule/work_scheduler/sa_profile:worksched_sa_profile", - "//foundation/resourceschedule/work_scheduler/sa_profile:work_scheduler_service_init", - "//foundation/resourceschedule/work_scheduler/interfaces/kits/js:workscheduler", - "//foundation/resourceschedule/work_scheduler/interfaces/kits/js:workscheduler_js" - ], - "test_list": [ - "//foundation/resourceschedule/work_scheduler/test/constanttest:constanttest" - ] - } - } -} -- Gitee