Support no configured device architectures

There are some builds where we only want to build host tools, and we may
not have a valid device configuration. Support 0 device architectures
and modules that don't have any configured way to build.

Change-Id: I732251e1cd3cdbfafbc6ef6a550e33e653876f7c
diff --git a/cc/cc.go b/cc/cc.go
index 4e093ec..4b09ab7 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -909,7 +909,7 @@
 }
 
 func depsMutator(ctx android.BottomUpMutatorContext) {
-	if c, ok := ctx.Module().(*Module); ok {
+	if c, ok := ctx.Module().(*Module); ok && c.Enabled() {
 		c.depsMutator(ctx)
 	}
 }