Don't create version variations of sdk modules
They are never used, skip creating them.
Test: m checkbuild
Change-Id: I4c8cd544327ae79b781f704be5a9064efdbdf2af
diff --git a/cc/library.go b/cc/library.go
index 059e29b..b5bec95 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -1545,14 +1545,16 @@
Host() bool
InRamdisk() bool
InRecovery() bool
+ UseSdk() bool
}) bool {
- return !module.Host() && !module.InRamdisk() && !module.InRecovery()
+ return !module.Host() && !module.InRamdisk() && !module.InRecovery() && !module.UseSdk()
}
func CanBeVersionVariant(module interface {
Host() bool
InRamdisk() bool
InRecovery() bool
+ UseSdk() bool
CcLibraryInterface() bool
Shared() bool
Static() bool