Searched refs:new_crate (Results 1 – 1 of 1) sorted by relevance
1022 def add_crate(self, new_crate): argument1024 if (is_build_script(new_crate.crate_name) and1025 not is_dependent_path(new_crate.main_src) and1026 new_crate.root_pkg_name and len(new_crate.deps) > 0):1027 self.build_deps[new_crate.root_pkg_name] = new_crate.deps1028 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)