Lines Matching refs:crate
154 def get_module_name(crate): # to sort crates in a list argument
155 return crate.module_name
1359 for crate in self.crates:
1360 crate.dump()
1380 def add_crate(self, crate): argument
1382 if crate.skip_crate():
1384 self.crates.append(crate)
1386 if (is_dependent_file_path(crate.main_src) and
1387 not is_build_crate_name(crate.crate_name)):
1388 self.dependencies.append(crate)
1391 if c.merge(crate, 'Android.bp'):
1394 crate.decide_module_type()
1395 self.crates.append(crate)