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

Change-Id: I219602fde89d2e48f812e670a45f465129165485