Provided herein are diaminopyrimidyl Compounds having the following structures: wherein X, L, R1, and R2 are as defined herein, compositions comprising an effective amount of a Diaminopyrimidyl Compound, and methods for treating or preventing PKC-theta-mediated disorders, or a condition treatable or preventable by inhibition of a kinase, for example, PKC-theta.本發明提供具有以下結構之二胺基嘧啶基化合物:其中X、L、R1及R2如本文中所定義;包含有效量之二胺基嘧啶基化合物之組合物;及用於治療或預防PKC-θ-介導之病症或可藉由抑制例如PKC-θ之激酶治療或預防之病狀的方法。