Searched refs:gn_target_name (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/tools/ |
D | gn_utils.py | 285 def get_target(self, gn_target_name): argument 291 target = self.all_targets.get(gn_target_name) 295 desc = self.gn_desc_[gn_target_name] 296 target = GnParser.Target(gn_target_name, desc['type']) 299 self.all_targets[gn_target_name] = target 304 assert (not gn_target_name.startswith('//buildtools')) 308 if gn_target_name.startswith('//gn'): 320 self.source_sets[gn_target_name] = target 323 self.linker_units[gn_target_name] = target 326 self.actions[gn_target_name] = target
|
D | gen_android_bp | 614 def create_modules_from_target(blueprint, gn, gn_target_name): argument 625 bp_module_name = label_to_module_name(gn_target_name) 628 target = gn.get_target(gn_target_name) 638 module = Module(module_type, bp_module_name, gn_target_name) 640 module = Module('cc_library_static', bp_module_name, gn_target_name) 643 module = Module('cc_library_shared', bp_module_name, gn_target_name) 646 module = Module('filegroup', bp_module_name, gn_target_name)
|
/external/skia/gn/ |
D | gn_to_cmake.py | 173 def GetObjectSourceDependencies(self, gn_target_name, object_dependencies): argument 175 dependencies = self.targets[gn_target_name].get('deps', []) 183 def GetObjectLibraryDependencies(self, gn_target_name, object_dependencies): argument 185 dependencies = self.targets[gn_target_name].get('deps', []) 192 def GetCMakeTargetName(self, gn_target_name): argument 195 path_separator = FindFirstOf(gn_target_name, (':', '(')) 200 location = gn_target_name[2:] 202 location = gn_target_name[2:path_separator] 203 toolchain_separator = gn_target_name.find('(', path_separator) 205 name = gn_target_name[path_separator + 1:] [all …]
|
/external/skqp/gn/ |
D | gn_to_cmake.py | 172 def GetObjectSourceDependencies(self, gn_target_name, object_dependencies): argument 174 dependencies = self.targets[gn_target_name].get('deps', []) 182 def GetObjectLibraryDependencies(self, gn_target_name, object_dependencies): argument 184 dependencies = self.targets[gn_target_name].get('deps', []) 191 def GetCMakeTargetName(self, gn_target_name): argument 194 path_separator = FindFirstOf(gn_target_name, (':', '(')) 199 location = gn_target_name[2:] 201 location = gn_target_name[2:path_separator] 202 toolchain_separator = gn_target_name.find('(', path_separator) 204 name = gn_target_name[path_separator + 1:] [all …]
|