diff options
author | Colin Cross <ccross@android.com> | 2018-08-30 12:52:41 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-08-30 19:54:37 +0000 |
commit | 6db4a6a7d9f046714c66dc9a29d1f486c5f53aa6 (patch) | |
tree | 35e5a769d84468389a3c7e36aa635fe190c2e05b /cc/cc.go | |
parent | 42d48b7b8b94e301d703656db0b25bc5ee7eb3bc (diff) | |
download | build_soong-6db4a6a7d9f046714c66dc9a29d1f486c5f53aa6.tar.gz build_soong-6db4a6a7d9f046714c66dc9a29d1f486c5f53aa6.tar.bz2 build_soong-6db4a6a7d9f046714c66dc9a29d1f486c5f53aa6.zip |
Skip DepsMutator on disabled modules
Dependencies of disabled modules may not have the right variations
for calling AddVariationDependencies, skip DepsMutator completely
on disabled modules.
Bug: 112707915
Test: m checkbuild
Test: prebuilts/build-tools/build-prebuilts.sh
Change-Id: I702e591437e5e6eb9f91f3b7eb32bacc4bd5d249
Diffstat (limited to 'cc/cc.go')
-rw-r--r-- | cc/cc.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -922,10 +922,6 @@ func (c *Module) beginMutator(actx android.BottomUpMutatorContext) { } func (c *Module) DepsMutator(actx android.BottomUpMutatorContext) { - if !c.Enabled() { - return - } - ctx := &depsContext{ BottomUpMutatorContext: actx, moduleContextImpl: moduleContextImpl{ |