!57 标准化bundle.json文件提交

Merge pull request !57 from Miss深海鱼/master
This commit is contained in:
openharmony_ci
2022-01-20 03:00:00 +00:00
committed by Gitee
3 changed files with 69 additions and 20 deletions
+67
View File
@@ -0,0 +1,67 @@
{
"name": "@ohos/time",
"description": "Allowing apps to use OS time get/set functions",
"version": "3.1",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "base/miscservices/time"
},
"dirs": {},
"scripts": {},
"component": {
"name": "time_native",
"subsystem": "miscservices",
"syscap": [
"SystemCapability.Miscservices.Time"
],
"features": [
],
"adapted_system_type": [
"standard"
],
"rom":"300KB",
"ram":"1024KB",
"deps": {
"components": [
"ability_manager",
"aafwk_standard",
"appexecfwk_standard",
"ans_standard",
"ces_standard",
"distributeddatamgr",
"hisysevent_native",
"hiviewdfx_hilog_native",
"ipc",
"permission_standard",
"safwk",
"samgr_standard",
"startup_l2",
"utils_base"
],
"third_party": [
"jsoncpp"
]
},
"build": {
"sub_component": [
"//base/miscservices/time:time_native_packages"
],
"inner_kits": [
{
"name": "//base/miscservices/time/services:time_service",
"header": {
"header_files": [
"itimer_info.h",
"time_service_client.h"
],
"header_base":"//base/miscservices/time/interfaces/innerkits/include"
}
}
],
"test": [
"//base/miscservices/time/services/time_manager/test:TimeServiceTest"
]
}
}
}
-18
View File
@@ -1,18 +0,0 @@
{
"subsystem": "miscservices",
"parts": {
"time_native": {
"variants": [
"phone",
"wearable",
"ivi"
],
"module_list": [
"//base/miscservices/time:time_native_packages"
],
"test_list": [
"//base/miscservices/time/services/time_manager/test:TimeServiceTest"
]
}
}
}
+2 -2
View File
@@ -14,10 +14,10 @@ import("//build/ohos.gni")
time_root_path = "//base/miscservices/time"
kits_path = "${time_root_path}/interface/kits"
kits_path = "${time_root_path}/interfaces/kits"
innerkits_path = "${time_root_path}/interfaces/innerkits"
time_utils_path = "${time_root_path}/utils"
adapter_path = "${time_root_path}/adapter"
adapter_path = "${time_root_path}/adapter"