Revert^2 "Add `libartserviced`."

This reverts commit 3a8956eedf9303342ff5350f676f7da55d327afe.

Reason for revert: The revert broke the build.

Bug: 233950555
Change-Id: Ib3ccef12637454bde7aa730c3d1aff22ddee1f65
diff --git a/build/apex/Android.bp b/build/apex/Android.bp
index 6b9e684..3c305b8 100644
--- a/build/apex/Android.bp
+++ b/build/apex/Android.bp
@@ -323,6 +323,9 @@
         art_runtime_run_test_libs +
         art_runtime_debug_native_shared_libs +
         libcore_debug_native_shared_libs,
+    jni_libs: [
+        "libartserviced",
+    ],
     multilib: {
         both: {
             binaries: art_tools_debug_binaries_both +
diff --git a/libartservice/service/Android.bp b/libartservice/service/Android.bp
index 55b63b3..b946440 100644
--- a/libartservice/service/Android.bp
+++ b/libartservice/service/Android.bp
@@ -46,6 +46,20 @@
     ],
 }
 
+cc_library {
+    name: "libartserviced",
+    defaults: [
+        "libartservice_defaults",
+        "art_debug_defaults",
+    ],
+    apex_available: [
+        "com.android.art",
+        "com.android.art.debug",
+    ],
+    shared_libs: [
+    ],
+}
+
 // Provides the API and implementation of the ART Service class that will be
 // loaded by the System Server.
 java_sdk_library {