Allow deprecated declarations

In order to address the security vulnerability at b/111210196 we are
upgrading the libcups library. There are some calls to functions that
are deprecated between the versions; in order to minimize churn in
legacy branches we are allowing deprecated functions to be called rather
than modifying the code to use the new functions.

Bug: 111210196
Test: adb shell am instrument -w android.print.cts/androidx.test.runner.AndroidJUnitRunner
Change-Id: I2b7d568c9f8878d27d9e53f96930d62d07b7d84a
(cherry picked from commit 7a514f53ac05e445cfb625782cd65e12f2c4a0f6)
diff --git a/jni/Android.bp b/jni/Android.bp
index d1c9ef9..d24e419 100644
--- a/jni/Android.bp
+++ b/jni/Android.bp
@@ -28,6 +28,7 @@
         "-Wno-implicit-function-declaration",
         "-Wno-format",
         "-Wno-missing-braces",
+        "-Wno-deprecated-declarations",
     ],
 
     srcs: [