Merge "Change __ANDROID_API_X__ to numbers."
diff --git a/nn/common/Android.bp b/nn/common/Android.bp
index c2b2064..ebc9297 100644
--- a/nn/common/Android.bp
+++ b/nn/common/Android.bp
@@ -174,14 +174,12 @@
         "android.hidl.allocator@1.0",
         "android.hidl.memory@1.0",
         "libbase",
-        "libcrypto",
         "libcutils",
         "libfmq",
         "libhidlbase",
         "libhidlmemory",
         "liblog",
         "libnativewindow",
-        "libtextclassifier_hash",
         "libutils",
     ],
     header_libs: [
@@ -197,7 +195,10 @@
         "libtflite_kernel_utils",
         "philox_random",
     ],
-
+    static_libs: [
+        "libcrypto_static",
+        "libtextclassifier_hash_static",
+    ],
     cflags: [
         "-DNAMESPACE_FOR_HASH_FUNCTIONS=farmhash",
         "-DNN_INCLUDE_CPU_IMPLEMENTATION",