platform_build_soong/genrule
Colin Cross fa65cee27f 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
2021-03-23 16:17:37 -07:00
..
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
genrule.go bp2build: genrule converter only supports "genrule". 2021-03-18 03:41:55 -04:00
genrule_test.go Fix genrule depending on disabled module with ALLOW_MISSING_DEPENDENCIES=true 2021-03-23 16:17:37 -07:00