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

Change-Id: I16e60e685653c8a007d89a58f6d20e06687e6b3b