Home
last modified time | relevance | path

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

/build/scripts/
Dcargo2gn.py1022 def add_crate(self, new_crate): argument
1024 if (is_build_script(new_crate.crate_name) and
1025 not is_dependent_path(new_crate.main_src) and
1026 new_crate.root_pkg_name and len(new_crate.deps) > 0):
1027 self.build_deps[new_crate.root_pkg_name] = new_crate.deps
1028 if new_crate.skip_crate():
1031 self.crates.append(new_crate)
1034 if crate.merge_crate(new_crate, 'BUILD.gn'):
1037 new_crate.decide_module_type()
1038 self.crates.append(new_crate)