blob: 2f20f802524dc5ea8c8a70f03437fc85b6afc211 [file] [log] [blame]
# Run boringssl self test for each ABI so that later processes can skip it. http://b/139348610
import /vendor/etc/boringssl_self_test.${ro.zygote}.rc
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