Our study provides novel evidence of CD4+ and CD8+ T-cell–intrinsic effects of Yap on T-cell activation and tumor infiltration. This evidence concerns the gene CD8A and neoplasm.