Add unit tests to build_verity_tree

Also factor out the cc_defaults in the bp file.

Bug: 25170618
Test: unit tests pass
Change-Id: If22b6fdea4b68fe61a7dc984204c1536ad3c5aee
4 files changed