summaryrefslogtreecommitdiffstats
path: root/libstats/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'libstats/Android.bp')
-rw-r--r--libstats/Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstats/Android.bp b/libstats/Android.bp
index d58f29417..f5ee1dada 100644
--- a/libstats/Android.bp
+++ b/libstats/Android.bp
@@ -17,12 +17,13 @@
// ==========================================================
// Native library to write stats log to statsd socket
// ==========================================================
-cc_library_static {
+cc_library {
name: "libstatssocket",
srcs: [
"stats_event_list.c",
"statsd_writer.c",
],
+ host_supported: true,
cflags: [
"-Wall",
"-Werror",
@@ -32,6 +33,7 @@ cc_library_static {
],
export_include_dirs: ["include"],
shared_libs: [
+ "libcutils",
"liblog",
],
}