Add a simple test and add necessary mock dependencies to allow future resoure shrinking use with platform targets. Test: m Bug: 202959019 Change-Id: Id2dd44d52ce5ea62c06784caab0af6276248cb3f