African governments and other local actors have a crucial role to play in shaping the activities of Chinese firms.