File: boringssl_self_test.rc

package info (click to toggle)
android-platform-external-boringssl 13.0.0%2Br24-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 127,460 kB
  • sloc: asm: 274,950; ansic: 128,879; cpp: 77,993; perl: 58,231; python: 1,286; sh: 85; makefile: 64; xml: 18
file content (15 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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

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