Merge "Fix cc_fuzz ignoring soong namespaces." am: 5eb62bc2fe

am: 8e83eb03c7

Change-Id: Id0a8511cfeb0e030fbebdb71e84eaeafa7a6d7e6
This commit is contained in:
Mitch Phillips
2019-12-05 13:50:20 -08:00
committed by android-build-merger

View File

@@ -345,6 +345,11 @@ func (s *fuzzPackager) GenerateBuildActions(ctx android.SingletonContext) {
return
}
// Discard modules that are in an unavailable namespace.
if !ccModule.ExportedToMake() {
return
}
s.fuzzTargets[module.Name()] = true
hostOrTargetString := "target"