Don't tell make about modules in other namespaces
This was causing build breaks when different devices moved to Android.bp at different times. Bug: 150878976 Test: build *_hwasan targets Change-Id: I68912bb6a5696809c318d1ec816a1bcfbe2df245
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user