Revert "Skip creating variants for disabled OSes"

This reverts commit d976af0cb4.

Reason for revert: broke windows SDK build: missing bin/dexdump.exe

Bug: 173663545
Change-Id: Ibb541507650beabd2d94885dd8d66f724a358ca7
This commit is contained in:
Colin Cross
2020-11-19 02:33:19 +00:00
parent d976af0cb4
commit 08d6f8fd75
5 changed files with 8 additions and 56 deletions

View File

@@ -29,7 +29,7 @@ func registerPathDepsMutator(ctx RegisterMutatorsContext) {
// property that is tagged with android:"path".
func pathDepsMutator(ctx BottomUpMutatorContext) {
m := ctx.Module().(Module)
if m == nil || !m.Enabled() {
if m == nil {
return
}