diff --git a/rust/androidmk.go b/rust/androidmk.go index 2a9a6c0e2..edd5c5f88 100644 --- a/rust/androidmk.go +++ b/rust/androidmk.go @@ -89,6 +89,7 @@ func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.Andr func (test *testDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) { test.binaryDecorator.AndroidMk(ctx, ret) + ret.Class = "NATIVE_TESTS" stem := String(test.baseCompiler.Properties.Stem) if stem != "" && !strings.HasSuffix(ctx.Name(), "_"+stem) { // Avoid repeated suffix in the module name.