Skip installing the standalone test dependency if the SkipInstall attribute is set.
This is done only when standalone_test is set to true for cc_test
Change-Id: I05bdc2e062d1c7a03205b0eed11dd014890b709c
Test: atest libunwindstack_unit_test --experimental-coverage
diff --git a/cc/test.go b/cc/test.go
index 9f86c7a..b3b2ae8 100644
--- a/cc/test.go
+++ b/cc/test.go
@@ -442,6 +442,9 @@
if standaloneTestDep.ToGob().SrcPath == nil {
continue
}
+ if standaloneTestDep.SkipInstall() {
+ continue
+ }
test.binaryDecorator.baseInstaller.installStandaloneTestDep(ctx, standaloneTestDep)
}
}