audio-legacy: Update flagging to properly filter out legacy.

Change-Id: Icecad794d68abad39ad97e27f6a1943a2d9f4609
audio: Use project pathmap

Change-Id: I32c9c9dccafd782bf76d476e2b4c1cf6f9c4ff7a