Add require root to libstats tests
root is required for coverage tests
Bug: 154652564
Test: m -j
Change-Id: I3325565818a275a069aed35a34bf3a58ee4b5bfc
diff --git a/libstats/pull/Android.bp b/libstats/pull/Android.bp
index c9f13a3..2658639 100644
--- a/libstats/pull/Android.bp
+++ b/libstats/pull/Android.bp
@@ -101,4 +101,5 @@
"-Wno-unused-function",
"-Wno-unused-parameter",
],
+ require_root: true,
}
diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp
index 3f42088..f386243 100644
--- a/libstats/socket/Android.bp
+++ b/libstats/socket/Android.bp
@@ -131,4 +131,5 @@
suffix: "64",
}
},
+ require_root: true,
}