Support multichannel builds.

Change-Id: I3c4b4022629317149518622d7c7a0f71b4dce1ed