File: boringssl_self_test.rc

package info (click to toggle)
android-platform-external-boringssl 14.0.0%2Br45-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132,612 kB
  • sloc: asm: 270,131; ansic: 132,231; cpp: 82,828; perl: 54,598; python: 961; sh: 233; makefile: 91; xml: 32
file content (17 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Run boringssl self test for each ABI so that later processes can skip it. http://b/139348610
on early-init && property:ro.product.cpu.abilist32=*
    exec_start boringssl_self_test32_vendor
on early-init && property:ro.product.cpu.abilist64=*
    exec_start boringssl_self_test64_vendor

service boringssl_self_test32_vendor /vendor/bin/boringssl_self_test32
    setenv BORINGSSL_SELF_TEST_CREATE_FLAG true # Any nonempty value counts as true
    reboot_on_failure reboot,boringssl-self-check-failed
    stdio_to_kmsg
    user root

service boringssl_self_test64_vendor /vendor/bin/boringssl_self_test64
    setenv BORINGSSL_SELF_TEST_CREATE_FLAG true # Any nonempty value counts as true
    reboot_on_failure reboot,boringssl-self-check-failed
    stdio_to_kmsg
    user root