!8 Add accessibility process

Merge pull request !8 from Yi/process
This commit is contained in:
openharmony_sig_ci 2022-01-26 11:42:16 +00:00 committed by Gitee
commit 676523f70a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 27 additions and 2 deletions

View File

@ -33,7 +33,8 @@
"//base/accessibility/interfaces/innerkits/asacfwk:accessibilityclient",
"//base/accessibility/interfaces/kits/napi:accessibility",
"//base/accessibility/sa_profile:aams_sa_profile",
"//base/accessibility/interfaces/kits/napi:tts"
"//base/accessibility/interfaces/kits/napi:tts",
"//base/accessibility/sa_profile:accessibility_cfg"
],
"inner_kits": [
{

View File

@ -14,7 +14,7 @@
* limitations under the License.
-->
<info>
<process>foundation</process>
<process>accessibility</process>
<systemability>
<name>801</name>
<libpath>/system/lib/libaccessibleabilityms.z.so</libpath>

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos.gni")
import("//build/ohos/sa_profile/sa_profile.gni")
ohos_sa_profile("aams_sa_profile") {
@ -18,3 +19,10 @@ ohos_sa_profile("aams_sa_profile") {
part_name = "accessibility"
}
ohos_prebuilt_etc("accessibility_cfg") {
source = "accessibility.cfg"
relative_install_dir = "init"
subsystem_name = "barrierfree"
part_name = "accessibility"
}

View File

@ -0,0 +1,16 @@
{
"jobs" : [{
"name" : "post-fs-data",
"cmds" : [
"start accessibility"
]
}
],
"services" : [{
"name" : "accessibility",
"path" : ["/system/bin/sa_main", "/system/profile/accessibility.xml"],
"uid" : "system",
"gid" : ["system", "shell", "root"]
}
]
}