Flutter Engine
The Flutter Engine
|
Functions | |
def | ensureExists (path) |
def | writeLinesToFile (lines, fileName) |
def | extractIdg (projFileName) |
Variables | |
list | configs = [] |
gnFile = os.path.join("out", outDir, "build.ninja.d") | |
slnFile = os.path.join("out", outDir, "all.sln") | |
string | cppTypeGuid = "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942" |
dictionary | allProjects = {} |
tuple | projectPattern |
tuple | projectNamePattern = (r'obj/(.*)\.vcxproj') |
slnLines = iter(open("out/" + config[0] + "/all.sln")) | |
matchObj = re.match(projectPattern, slnLine) | |
projPath = matchObj.group(2) | |
nameObj = re.match(projectNamePattern, projPath) | |
projName = nameObj.group(1).replace('/', '.') | |
list | newSlnLines = [] |
projGuid = projConfigs[0][2] | |
string | idgHdr = "<ItemDefinitionGroup Condition=\"'$(Configuration)|$(Platform)'=='" |
srcProjPath = os.path.join("out", projConfigs[0][0], projConfigs[0][1]) | |
dstProjPath = os.path.join("out", "sln", projConfigs[0][1]) | |
string | srcFilterPath = srcProjPath + ".filters" |
string | dstFilterPath = dstProjPath + ".filters" |
projLines = iter(srcProjFile) | |
list | newProjLines = [] |
list | idgLines = [] |
line = next(projLines) | |
def | configIdgLines |
list | projConfigLines |
def gn.gn_meta_sln.ensureExists | ( | path | ) |
Definition at line 14 of file gn_meta_sln.py.
def gn.gn_meta_sln.extractIdg | ( | projFileName | ) |
Definition at line 25 of file gn_meta_sln.py.
def gn.gn_meta_sln.writeLinesToFile | ( | lines, | |
fileName | |||
) |
Definition at line 20 of file gn_meta_sln.py.
dictionary gn.gn_meta_sln.allProjects = {} |
Definition at line 54 of file gn_meta_sln.py.
def gn.gn_meta_sln.configIdgLines |
Definition at line 147 of file gn_meta_sln.py.
list gn.gn_meta_sln.configs = [] |
Definition at line 38 of file gn_meta_sln.py.
string gn.gn_meta_sln.cppTypeGuid = "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942" |
Definition at line 51 of file gn_meta_sln.py.
string gn.gn_meta_sln.dstFilterPath = dstProjPath + ".filters" |
Definition at line 127 of file gn_meta_sln.py.
gn.gn_meta_sln.dstProjPath = os.path.join("out", "sln", projConfigs[0][1]) |
Definition at line 125 of file gn_meta_sln.py.
gn.gn_meta_sln.gnFile = os.path.join("out", outDir, "build.ninja.d") |
Definition at line 44 of file gn_meta_sln.py.
string gn.gn_meta_sln.idgHdr = "<ItemDefinitionGroup Condition=\"'$(Configuration)|$(Platform)'=='" |
Definition at line 119 of file gn_meta_sln.py.
list gn.gn_meta_sln.idgLines = [] |
Definition at line 141 of file gn_meta_sln.py.
Definition at line 144 of file gn_meta_sln.py.
gn.gn_meta_sln.matchObj = re.match(projectPattern, slnLine) |
Definition at line 63 of file gn_meta_sln.py.
gn.gn_meta_sln.nameObj = re.match(projectNamePattern, projPath) |
Definition at line 66 of file gn_meta_sln.py.
list gn.gn_meta_sln.newProjLines = [] |
Definition at line 136 of file gn_meta_sln.py.
list gn.gn_meta_sln.newSlnLines = [] |
Definition at line 83 of file gn_meta_sln.py.
list gn.gn_meta_sln.projConfigLines |
tuple gn.gn_meta_sln.projectNamePattern = (r'obj/(.*)\.vcxproj') |
Definition at line 57 of file gn_meta_sln.py.
tuple gn.gn_meta_sln.projectPattern |
Definition at line 55 of file gn_meta_sln.py.
gn.gn_meta_sln.projGuid = projConfigs[0][2] |
Definition at line 102 of file gn_meta_sln.py.
gn.gn_meta_sln.projLines = iter(srcProjFile) |
Definition at line 135 of file gn_meta_sln.py.
gn.gn_meta_sln.projName = nameObj.group(1).replace('/', '.') |
Definition at line 68 of file gn_meta_sln.py.
gn.gn_meta_sln.projPath = matchObj.group(2) |
Definition at line 65 of file gn_meta_sln.py.
gn.gn_meta_sln.slnFile = os.path.join("out", outDir, "all.sln") |
Definition at line 46 of file gn_meta_sln.py.
gn.gn_meta_sln.slnLines = iter(open("out/" + config[0] + "/all.sln")) |
Definition at line 61 of file gn_meta_sln.py.
string gn.gn_meta_sln.srcFilterPath = srcProjPath + ".filters" |
Definition at line 126 of file gn_meta_sln.py.
gn.gn_meta_sln.srcProjPath = os.path.join("out", projConfigs[0][0], projConfigs[0][1]) |
Definition at line 124 of file gn_meta_sln.py.