Home
last modified time | relevance | path

Searched refs:cargo (Results 1 – 2 of 2) sorted by relevance

/development/scripts/
Dadd3prf.py275 def parse_cargo_toml(cargo): argument
281 with open(cargo, "r") as toml:
298 cargo = "Cargo.toml"
299 if not os.path.isfile(cargo):
300 print("ERROR: ", cargo, "is not found")
302 if not os.access(cargo, os.R_OK):
303 print("ERROR: ", cargo, "is not readable")
305 name, version, description, cargo_license = parse_cargo_toml(cargo)
307 print("ERROR: Cannot find name, version, or description in", cargo)
Dcargo2android.py1157 if args.cargo:
1158 self.cargo = ['clean'] + args.cargo
1165 self.cargo = ['clean', 'build ' + default_target]
1167 self.cargo.append('build --tests ' + default_target)
1391 for c in self.cargo: