Add a profiling library

Move profile_compilation_info to a separate library.  Another step
towards building many of our tools without libart[d].

Bug: 78459333
Test: make -j 50 checkbuild
Change-Id: Ib281d3d1fde6d06ebb429c5d39d62a7038af0f44
diff --git a/test/Android.bp b/test/Android.bp
index b9312c8..16d14cd 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -63,6 +63,7 @@
         "libvixld-arm64",
         "libart-gtest",
         "libdexfiled",
+        "libprofiled",
 
         "libbase",
         "libicuuc",
@@ -115,6 +116,7 @@
         "libartd",
         "libartd-compiler",
         "libdexfiled",
+        "libprofiled",
     ],
     static_libs: [
         "libgtest",
@@ -152,6 +154,7 @@
         "libartd",
         "libartd-compiler",
         "libdexfiled",
+        "libprofiled",
         "libbase",
         "libbacktrace",
     ],
@@ -182,6 +185,7 @@
     shared_libs: [
         "libart",
         "libdexfile",
+        "libprofile",
     ],
 }
 
@@ -195,6 +199,7 @@
     shared_libs: [
         "libartd",
         "libdexfiled",
+        "libprofiled",
     ],
 }
 
@@ -315,6 +320,7 @@
     shared_libs: [
         "libart",
         "libdexfile",
+        "libprofile",
     ],
 }
 
@@ -327,6 +333,7 @@
     shared_libs: [
         "libartd",
         "libdexfiled",
+        "libprofiled",
     ],
 }
 
@@ -458,6 +465,7 @@
     shared_libs: [
         "libart",
         "libdexfile",
+        "libprofile",
     ],
 }
 
@@ -470,6 +478,7 @@
     shared_libs: [
         "libartd",
         "libdexfiled",
+        "libprofiled",
     ],
 }