Create statsd-module-sdk-for-art
The earlier-added statsd-module-sdk has been brought into the internal
tree's prebuilts which makes it conflict with the copy in ART's
prebuilts. As a temporary fix to the issue, we make a new version of
the statsd-module-sdk that has only the components ART needs.
Bug: 178236337
Bug: 180769414
Test: m statsd-module-sdk-for-art
Change-Id: I953844418638fe0351e3ce7646afce4d75c15276
diff --git a/apex/Android.bp b/apex/Android.bp
index 7f27bd8..60ac824 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -86,3 +86,14 @@
"libstatssocket",
],
}
+
+
+// TODO(b/180769414): ART should be able to use the statsd-module-sdk entry,
+// but unfortunately that conflicts with internal builds. Make a special copy
+// for ART for the time being.
+sdk {
+ name: "statsd-module-sdk-for-art",
+ native_shared_libs: [
+ "libstatssocket",
+ ],
+}