Twenty-one novelN,4-diphenylpyrimidin-2-amine derivatives have been synthesized as PI3Kγ selective inhibitors and compoundC8demonstrated the most potent inhibitory activity against PI3Kγ kinase.