discovery: add global discovery to mojo

Change-Id: I6577af005091079d67674b7a44c0472bd0402856
12 files changed