[build] deprecated code