China on Wednesday condemned a U.S. Senate measure on Hong Kong, vowing to take the steps necessary to safeguard its sovereignty and security.