diff options
| author | 2021-03-22 17:05:59 -0700 | |
|---|---|---|
| committer | 2021-03-23 16:17:37 -0700 | |
| commit | fa65cee27f87f74bae6905b3d5c03963455921f6 (patch) | |
| tree | 6079252b8425392224c789caf42d60cdb1419426 /java/java.go | |
| parent | dca349a7823e6efdfd15965342235077f0d77c60 (diff) | |
Fix genrule depending on disabled module with ALLOW_MISSING_DEPENDENCIES=true
If a genrule depends on a module that is disabled, in this case because
it is a device module in a host-only build, it can cause panics when
getPathsFromModuleDep retrieves a nil Path from the disabled module.
Treat disabled modules as missing dependencies.
Test: TestGenruleAllowMissingDependencies
Change-Id: I3c689c6b5505b21eaf7ae7cb93c00f96f438ac17
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions