Add support for a profile listing methods in compilation order.
am: a0fc13a97a

Change-Id: I06393bdafffc2f505bd791c4eced4409eec822ce