media-legacy: use project pathmap

Change-Id: I521b6abf80500a9ea066fb80ec08f2d7d5f379fb