Merge "Don't tell make about modules in other namespaces" am: 266a66e20c

Change-Id: I8909dde91502e84a958a7fa52a8b0fc1f580619e
This commit is contained in:
Treehugger Robot
2020-05-04 09:02:46 +00:00
committed by Automerger Merge Worker

View File

@@ -1041,7 +1041,7 @@ func sanitizerMutator(t sanitizerType) func(android.BottomUpMutatorContext) {
} }
// Export the static lib name to make // Export the static lib name to make
if c.static() { if c.static() && c.ExportedToMake() {
if t == cfi { if t == cfi {
appendStringSync(c.Name(), cfiStaticLibs(mctx.Config()), &cfiStaticLibsMutex) appendStringSync(c.Name(), cfiStaticLibs(mctx.Config()), &cfiStaticLibsMutex)
} else if t == hwasan { } else if t == hwasan {