hmm  these are basically cros workon localname  if you walked that array  it would be one less place to keep up to date  you would have to add dummy stubs for common mk  but i think that is an ok trade off  similar statement for doing a loop in src test  or add a multiplexer func platform  multiplex local phase local out platform out local pkg for pkg in cros workon localname do platform phase pkg done then you can do src test platform  multiplex test src install use platform platform  multiplex install 