Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
gn.gn_to_cmake.Target Class Reference
Inheritance diagram for gn.gn_to_cmake.Target:

Public Member Functions

def __init__ (self, gn_target_name, project)
 

Public Attributes

 gn_name
 
 properties
 
 cmake_name
 
 gn_type
 
 cmake_type
 

Detailed Description

Definition at line 225 of file gn_to_cmake.py.

Constructor & Destructor Documentation

◆ __init__()

def gn.gn_to_cmake.Target.__init__ (   self,
  gn_target_name,
  project 
)

Definition at line 226 of file gn_to_cmake.py.

226 def __init__(self, gn_target_name, project):
227 self.gn_name = gn_target_name
228 self.properties = project.targets[self.gn_name]
229 self.cmake_name = project.GetCMakeTargetName(self.gn_name)
230 self.gn_type = self.properties.get('type', None)
231 self.cmake_type = cmake_target_types.get(self.gn_type, None)
232
233
const myers::Point & get(const myers::Segment &)

Member Data Documentation

◆ cmake_name

gn.gn_to_cmake.Target.cmake_name

Definition at line 229 of file gn_to_cmake.py.

◆ cmake_type

gn.gn_to_cmake.Target.cmake_type

Definition at line 231 of file gn_to_cmake.py.

◆ gn_name

gn.gn_to_cmake.Target.gn_name

Definition at line 227 of file gn_to_cmake.py.

◆ gn_type

gn.gn_to_cmake.Target.gn_type

Definition at line 230 of file gn_to_cmake.py.

◆ properties

gn.gn_to_cmake.Target.properties

Definition at line 228 of file gn_to_cmake.py.


The documentation for this class was generated from the following file: