diff --git a/libcutils/Android.bp b/libcutils/Android.bp index b9420d4e3..88e1bdb69 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -244,6 +244,7 @@ cc_test { defaults: ["libcutils_test_default"], host_supported: true, shared_libs: test_libraries, + require_root: true, } cc_test { @@ -255,6 +256,7 @@ cc_test { "libcgrouprc_format", ] + test_libraries, stl: "libc++_static", + require_root: true, target: { android: {