Add per-device ccache

Change-Id: I73e94849a9a33a70bad94ff8ed35086e882ba65e