Home
last modified time | relevance | path

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

/external/perfetto/tools/
Dgn_utils.py285 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
Dgen_android_bp614 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/
Dgn_to_cmake.py173 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/
Dgn_to_cmake.py172 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 …]