Make libcrypto_static visible for com.android.neuralnetworks

This reduces com.android.neuralnetworks APEX size and memory use.
After moving libneuralnetworks.so to an APEX module, it can't use
the system libcrypto.so. This results in a copy of the libcrypto.so
being added to the com.android.neuralnetworks APEX. By switching to
static version of libcrypto, we link in just the required SHA functions.

Test: Flashed pixel device & run NNAPI tests.
Bug: 140440028
Change-Id: I8be6c7114df01f0049f724a0daf3912fa3ab1837
1 file changed