Add compile rule.

Signed-off-by: Thiago Farina <tfarina@chromium.org>