I would say that igneous rock, because when it is fresh and unaltered can be quite tough to withstand shock would be a better construction material. From experience I believe that the large tightly fitting stones of the Inca fortresses were mostly constructed from igneous rock and it usually stands up well in earthquakes in Peru,
The igneous rocks, in general are made up of the solidified magma. These rocks are made up of a strong solidified magma, which cools over the time and form a continuous massive structure. The sedimentary rocks are made up different rocks, which are combined under the pressure. During the stress of the earthquake, the sedimentary rock can break more easily as they are loosely packed than the igneous rocks, whereas, the igneous rock remain solid and shear less easily.