China said that military cooperation between the Philippines and other countries should not target any third party.