mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 00:51:12 +00:00
修改xml为json文件
Signed-off-by: wangdantong <wangdantong@huawei.com> Change-Id: Ibe2cefcdbb592befb4333311543d8566cdef7054
This commit is contained in:
parent
2b084f757d
commit
b8cee1694c
@ -30,7 +30,7 @@ ohos_prebuilt_etc("distributed_data.cfg") {
|
||||
}
|
||||
|
||||
ohos_sa_profile("distributeddata_profile") {
|
||||
sources = [ "../sa_profile/1301.xml" ]
|
||||
sources = [ "../sa_profile/1301.json" ]
|
||||
|
||||
part_name = "datamgr_service"
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
],
|
||||
"services":[{
|
||||
"name" : "distributeddata",
|
||||
"path" : ["/system/bin/sa_main","/system/profile/distributeddata.xml"],
|
||||
"path" : ["/system/bin/sa_main","/system/profile/distributeddata.json"],
|
||||
"uid" : "ddms",
|
||||
"gid" : ["system","shell","readproc","ddms"],
|
||||
"writepid":[
|
||||
|
12
services/distributeddataservice/sa_profile/1301.json
Normal file
12
services/distributeddataservice/sa_profile/1301.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"process": "distributeddata",
|
||||
"systemability": [
|
||||
{
|
||||
"name": 1301,
|
||||
"libpath": "libdistributeddataservice.z.so",
|
||||
"run-on-create": true,
|
||||
"distributed": false,
|
||||
"dump_level": 1
|
||||
}
|
||||
]
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<info>
|
||||
<process>distributeddata</process>
|
||||
<systemability>
|
||||
<name>1301</name><!-- Declare DistributedKvDataService SytemAbilityID-->
|
||||
<libpath>libdistributeddataservice.z.so</libpath>
|
||||
<run-on-create>true</run-on-create>
|
||||
<distributed>false</distributed>
|
||||
<dump-level>1</dump-level>
|
||||
</systemability>
|
||||
</info>
|
||||
|
Loading…
Reference in New Issue
Block a user