JOHANNESBURG (AP) — Chinese President Xi Jinping said Wednesday the world faces "a choice between cooperation and confrontation" amid a trade war with the United States that he warned would have no winner.

Those who pursue "economic hegemony" will "only end up hurting themselves," Xi said at the annual summit of the BRICS emerging economies, held this year in Johannesburg.

"Unilateralism and protectionism are mounting, dealing a severe blow to multilateralism and the multilateral trading regime," he added in remarks critical of escalating U.S. tariffs on goods from China, the world's second-largest economy, and other major trading partners.

Just hours earlier, U.S. President Donald Trump accused China of "vicious" tactics on trade, tweeting that China was specifically targeting U.S. farmers with retaliatory tariffs because "they know I love & respect" them.

The other leaders of BRICS countries — Russian President Vladimir Putin, Indian Prime Minister Narendra Modi, South African President Cyril Ramaphosa and Brazilian President Michel Temer — are expected to join the three-day summit. Turkey's president, Recep Tayyip Erdogan, has also been invited.

Ramaphosa also expressed concern about "the rise in unilateral measures that are incompatible with World Trade Organization rules" and are especially damaging to developing countries.

Trump's comments on China came after his administration announced a plan to provide $12 billion in emergency relief for farmers who have been slammed by the president's trade disputes. China has retaliated to American tariffs with duties on some U.S. products.

The Chinese leader told the summit that "we are facing a choice between cooperation and confrontation, between opening up and a closed-door policy."

"The current international order is not perfect," Xi said, but it should not be discarded "as long as it is rule-based, aims to be equitable and pursues win-win outcomes as its goals."

___

Follow Africa news at https://twitter.com/AP_Africa

Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.