Merge "Fix build error of sysprop_library in namespace"
This commit is contained in:
@@ -494,11 +494,13 @@ func syspropLibraryHook(ctx android.LoadHookContext, m *syspropLibrary) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
syspropLibrariesLock.Lock()
|
if m.ExportedToMake() {
|
||||||
defer syspropLibrariesLock.Unlock()
|
syspropLibrariesLock.Lock()
|
||||||
|
defer syspropLibrariesLock.Unlock()
|
||||||
|
|
||||||
libraries := syspropLibraries(ctx.Config())
|
libraries := syspropLibraries(ctx.Config())
|
||||||
*libraries = append(*libraries, ctx.ModuleName())
|
*libraries = append(*libraries, "//"+ctx.ModuleDir()+":"+ctx.ModuleName())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func syspropDepsMutator(ctx android.BottomUpMutatorContext) {
|
func syspropDepsMutator(ctx android.BottomUpMutatorContext) {
|
||||||
|
Reference in New Issue
Block a user