Merge "Don't tell make about modules in other namespaces"

This commit is contained in:
Treehugger Robot
2020-05-04 09:02:06 +00:00
committed by Gerrit Code Review

View File

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