China says it will "definitely take strong countermeasures" against the signing of the Hong Kong Human Rights and Democracy Act by U.S. President Donald Trump.