Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a805249 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix build error of sysprop_library in namespace"

parents baf8c3a8 69cf09e1
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -494,11 +494,13 @@ func syspropLibraryHook(ctx android.LoadHookContext, m *syspropLibrary) {
		})
	}

	if m.ExportedToMake() {
		syspropLibrariesLock.Lock()
		defer syspropLibrariesLock.Unlock()

		libraries := syspropLibraries(ctx.Config())
	*libraries = append(*libraries, ctx.ModuleName())
		*libraries = append(*libraries, "//"+ctx.ModuleDir()+":"+ctx.ModuleName())
	}
}

func syspropDepsMutator(ctx android.BottomUpMutatorContext) {