HTC built the phone but it was according to exact specifications from Google, I doubt they had any influence on the design.
As for the software, HTC had no part in it at all. Its 100% Google through and through.
I used to care about sd card slots, but i got the 128gb version and i have unlimited storage on google photos so im covered