diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000000000000000000000000000000000000..5c63f31f94ec33c2717972cc2d7e1e4faa189dbe --- /dev/null +++ b/bundle.json @@ -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" + ] + } + } +} \ No newline at end of file diff --git a/ohos.build b/ohos.build deleted file mode 100755 index f96f7921a639e8f4ff31218fb4f10feac36cd55a..0000000000000000000000000000000000000000 --- a/ohos.build +++ /dev/null @@ -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" - ] - } - } -} diff --git a/time.gni b/time.gni index c20574fc766b310df81fed9850f842917f405260..c1371be1340fdfb6405dd160f3ec0e845793f2a3 100755 --- a/time.gni +++ b/time.gni @@ -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" \ No newline at end of file +adapter_path = "${time_root_path}/adapter"