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