change ohos.build to bundle.json

Signed-off-by: ltdong <donglongtao@huawei.com>
This commit is contained in:
ltdong 2022-01-13 22:42:15 +08:00
parent ddc2758c29
commit 77837bc87a
2 changed files with 131 additions and 109 deletions

131
bundle.json Normal file
View File

@ -0,0 +1,131 @@
{
"name": "@ohos/distributeddatamgr_appdatamgr",
"version": "1.0.0",
"description": "Local Data Management",
"homePage": "https://gitee.com/openharmony",
"license": "Apache V2",
"repository": "https://gitee.com/openharmony/distributeddatamgr_appdatamgr",
"domain": "os",
"language": "",
"publishAs": "code-segment",
"private": false,
"scripts": {},
"tags": [
"foundation"
],
"keywords": [
"distributeddatamgr",
"appdatamgr"
],
"envs": [],
"dirs": [],
"author": {
"name": "",
"email": "",
"url": ""
},
"contributors": [
{
"name": "",
"email": "",
"url": ""
}
],
"segment": {
"destPath": "foundation/distributeddatamgr/appdatamgr"
},
"component": {
"name": "native_appdatamgr",
"subsystem": "distributeddatamgr",
"syscap": [
"SystemCapability.Data.DATA_APPDATAMGR"
],
"features": [],
"adapted_system_type": [
"standard"
],
"rom": "",
"ram": "",
"deps": {
"components": [],
"third_party": []
},
"build": {
"sub_component": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk:native_appdatafwk",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences:native_preferences",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability:native_dataability",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb:native_rdb",
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:dataability",
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:storage",
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:rdb"
],
"inner_kits": [
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb:native_rdb",
"header": {
"header_files": [
"abs_rdb_predicates.h",
"abs_result_set.h",
"abs_shared_result_set.h",
"raw_rdb_predicates.h",
"rdb_errno.h",
"rdb_helper.h",
"rdb_open_callback.h",
"rdb_predicates.h",
"rdb_store.h",
"rdb_store_config.h",
"result_set.h",
"shared_result_set.h",
"transaction_observer.h",
"value_object.h",
"values_bucket.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences:native_preferences",
"header": {
"header_files": [
"preferences.h",
"preferences_observer.h",
"preferences_helper.h",
"preferences_errno.h",
"preferences_xml_utils.h",
"preferences_value.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk:native_appdatafwk",
"header": {
"header_files": [
"shared_block.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability:native_dataability",
"header": {
"header_files": [
"data_ability_predicates.h",
"predicates_utils.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability/include"
}
}
],
"test": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_dataability/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_rdb/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_rdb/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_dataability/test:unittest"
]
}
}
}

View File

@ -1,109 +0,0 @@
{
"subsystem": "distributeddatamgr",
"parts": {
"native_appdatamgr": {
"version": "1.0.0",
"interface-version": {},
"variants": [
"phone",
"wearable",
"ivi"
],
"module_list": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk:native_appdatafwk",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences:native_preferences",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability:native_dataability",
"//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb:native_rdb"
],
"system_capabilities":[
"SystemCapability.Data.DATA_APPDATAMGR"
],
"inner_kits": [
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb:native_rdb",
"header": {
"header_files": [
"abs_rdb_predicates.h",
"abs_result_set.h",
"abs_shared_result_set.h",
"raw_rdb_predicates.h",
"rdb_errno.h",
"rdb_helper.h",
"rdb_open_callback.h",
"rdb_predicates.h",
"rdb_store.h",
"rdb_store_config.h",
"result_set.h",
"shared_result_set.h",
"transaction_observer.h",
"value_object.h",
"values_bucket.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_rdb/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences:native_preferences",
"header": {
"header_files": [
"preferences.h",
"preferences_observer.h",
"preferences_helper.h",
"preferences_errno.h",
"preferences_xml_utils.h",
"preferences_value.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_preferences/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk:native_appdatafwk",
"header": {
"header_files": [
"shared_block.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_appdatafwk/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability:native_dataability",
"header": {
"header_files": [
"data_ability_predicates.h",
"predicates_utils.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/innerkits/native_dataability/include"
}
}
],
"test_list": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_dataability/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_rdb/test:unittest"
]
},
"appdatamgr_jskits": {
"version": "1.0.0",
"interface-version": {},
"variants": [
"phone",
"wearable",
"ivi"
],
"module_list": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:dataability",
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:storage",
"//foundation/distributeddatamgr/appdatamgr/interfaces/jskits:rdb"
],
"system_capabilities":[
"SystemCapability.Data.DATA_APPDATAMGR"
],
"test_list": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_rdb/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/native_dataability/test:unittest"
]
}
}
}