The present invention provides novel compounds of formula (I) or a pharmaceutically acceptable salt thereof wherein A, Re, Rb, Rc, Rd, G1, Y1, and Y2 have the meaning as given in the claims useful as inhibitors of protein kinases. The invention also provides pharmaceutical compositions comprising the compounds of the invention and methods of using the compositions in the treatment of various diseases.La présente invention a trait à de nouveaux composés utiles en tant quinhibiteurs des protéines kinases. Linvention a également trait à des compositions pharmaceutiques comportant les composés de linvention et à des procédés dutilisation des composés dans le traitement de diverses maladies.