Merge "Ignore outputs with direct flag when selectOutput."
am: a1270b044b

Change-Id: I02c198602046295bea79ab3b2a82bf396f4b0558