For statutory provisions authorizing cities to regulate buildings and construction, see Government Code §§ 38601 and 38660; for provisions on the construction of housing, see Health and Safety Code § 17910 et seq.; for provisions authorizing cities to adopt codes by reference, see Government Code § 50022.2 et seq.