Do not create a TextClassificationSession if we are not going to use it. am: c94b3450ca

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libtextclassifier/+/11734845

Change-Id: I57e7940c43e62963cc021df4bad3e4b353cb44f9
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+  license_type: NOTICE
+}
diff --git a/native/Android.bp b/native/Android.bp
index 4260525..e25d4c1 100644
--- a/native/Android.bp
+++ b/native/Android.bp
@@ -122,19 +122,20 @@
     ],
 
     header_libs: [
+        "jni_headers",
         "tensorflow_headers",
         "flatbuffer_headers",
     ],
 
     shared_libs: [
         "liblog",
+        "libz",
     ],
 
     static_libs: [
         "liblua",
         "libutf",
         "libtflite_static",
-        "libz_current",
     ],
 }
 
@@ -332,6 +333,8 @@
 
     srcs: ["**/*.cc"],
 
+    header_libs: ["jni_headers"],
+
     static_libs: [
         "libgmock_ndk",
         "libgtest_ndk_c++",