Move UiEventLogger related methods into a library so that
launcher can depend on it.

Bug: 149052947
Test: system.img builds

Change-Id: I8a33bb9bf1732b8dd283645d7ac38f92b62cc7e8
diff --git a/Android.bp b/Android.bp
index dbef611..1ac04fd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -628,6 +628,18 @@
     out: ["com/android/internal/util/FrameworkStatsLog.java"],
 }
 
+java_library {
+    name: "uieventloggerlib",
+    srcs: [
+        "core/java/com/android/internal/logging/UiEvent.java",
+        "core/java/com/android/internal/logging/UiEventLogger.java",
+        "core/java/com/android/internal/logging/UiEventLoggerImpl.java",
+        "core/java/com/android/internal/logging/InstanceId.java",
+        "core/java/com/android/internal/logging/InstanceIdSequence.java",
+        ":statslog-framework-java-gen",
+    ],
+}
+
 gensrcs {
     name: "framework-javastream-protos",
     depfile: true,