"Whatever it takes" is nothing short of "we'll go to war."
Well apparently the Chinese haven't gotten the message. I guess they've always assumed that we'll try to get involved anyway, which is the principal motivation for their nuclear/ICBM buildup.