The basalts and gabbros, as well as thermal-waters, were distributed, more or less, in the hydrocarbon source rocks in the rift basins, Eastern China. Generally speaking, the magmas and thermal-waters brought heats to the source rocks, caused organic matter in the source rocks mature and hydrocarbon generating earlier. The authors recognized that the magmas and thermal-waters provided large quantity of CO2, volcanic minerals, transitional metals and nutriments(including P and N)to the source rocks, which resulted in the shales around igneous rocks being rich in carbonate and organic carbon. The shales were basically excellent source rocks with high hydrocarbon potentials. The transitional metals and some volcanic minerals were active catalysts to hydrocarbon generation from the organic matter in the source rocks around the igneous rocks, which represented more oil and gas being generated at lower temperatures in burial of the source rocks and igneous rocks. Having conducted a series of thermal stimulations of hydrocarbon generation of oil shales from the Dongying Depression with Ni and Co catalysts, it was put forward that the hydrocarbon generation from the oil shales began at 120℃, about 100℃ lower than the generation without the catalysts, and the quantity of the generated hydrocarbons were several times more than those without catalysts in stimulating temperature being 200～280℃. Based on what mentioned above, it was concluded that the source rocks around basalts or gabbros generated much more oil and gas at much lower burial depths in a rift basin comparing with that ones far away from igneous rocks or not companying with volcanic rocks and thermal-water activities.