Ford announced on Tuesday in Nanjing , China , that it , along with the Mazda Motor Corporation , which it controls , and the Changan Automotive Group , its Chinese joint-venture partner , would build a large factory there with the capacity to assemble 350,000 engines a year .