1# Run boringssl self test for each ABI so that later processes can skip it. http://b/139348610
2on early-init && property:ro.product.cpu.abilist32=*
3    exec_start boringssl_self_test32_vendor
4on early-init && property:ro.product.cpu.abilist64=*
5    exec_start boringssl_self_test64_vendor
6
7service boringssl_self_test32_vendor /vendor/bin/boringssl_self_test32
8    setenv BORINGSSL_SELF_TEST_CREATE_FLAG true # Any nonempty value counts as true
9    reboot_on_failure reboot,boringssl-self-check-failed
10    stdio_to_kmsg
11
12service boringssl_self_test64_vendor /vendor/bin/boringssl_self_test64
13    setenv BORINGSSL_SELF_TEST_CREATE_FLAG true # Any nonempty value counts as true
14    reboot_on_failure reboot,boringssl-self-check-failed
15    stdio_to_kmsg
16