Add systemserverclasspath_fragment.

Note that the contents of the fragment are added as dependencies to an
apex, so there is no need to duplicate them in java_libs.

Bug: 180105615
Test: atest CtsClasspathsTestCases
Change-Id: Ie4732ee602983047859b29b939585a3f716d5bdc
Merged-In: Ie4732ee602983047859b29b939585a3f716d5bdc
diff --git a/libartservice/Android.bp b/libartservice/Android.bp
index 8b7d980..5390fb2 100644
--- a/libartservice/Android.bp
+++ b/libartservice/Android.bp
@@ -82,6 +82,11 @@
     //   running "m update-api" will give instructions on what to do next
     unsafe_ignore_missing_latest_api: true,
 
+    // This cannot be accessed by apps using <uses-library> in their manifest.
+    shared_library: false,
+    // TODO(b/188773212): force dex compilation for inclusion in bootclasspath_fragment.
+    compile_dex: true,
+
     srcs: [
         "service/java/com/android/server/art/ArtManagerLocal.java",
     ],