mirror of
https://gitee.com/openharmony/accessibility
synced 2025-03-01 09:47:18 +00:00
commit
676523f70a
@ -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": [
|
||||
{
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
}
|
||||
|
16
sa_profile/accessibility.cfg
Normal file
16
sa_profile/accessibility.cfg
Normal 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"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user