diff options
| author | 2020-11-16 22:44:30 -0800 | |
|---|---|---|
| committer | 2020-11-17 14:24:24 -0800 | |
| commit | d976af0cb47b78a7b4dbc60452d1eff4f0296df6 (patch) | |
| tree | 7c1f023846900cf70c34186c53fda96cc52c54ec /python/python.go | |
| parent | 34037c66ae5e9247627afe1a98ecb8e7026557fd (diff) | |
Skip creating variants for disabled OSes
The documentation java_genrule_host states that it creates a single
variant, which would make it work with the single variant fallback
in AddDependency used by the data property, but it actually has a host
and a host-cross windows variant. Modify osMutator to take the
OS-specific enabled properties into account to skip creating variants
that will immediately be disabled so there is a single variant.
Test: m checkbuild
Change-Id: Ic2daab29f4fa3a3797d7a08348fbfcf1036ec5dc
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions