Flutter Engine
The Flutter Engine
Variables
gn.minify_sksl Namespace Reference

Variables

 sksl_minify = sys.argv[1]
 
 targetDir = sys.argv[2]
 
 modules = sys.argv[3:]
 
dictionary dependencies
 
 moduleDir
 
 moduleName
 
 target = os.path.join(targetDir, moduleName)
 
string programKind = "--compute"
 
list moduleList = [module]
 
string destPath = target + ".minified.sksl"
 
list args = [sksl_minify, programKind, "--stringify", destPath] + moduleList
 

Variable Documentation

◆ args

list gn.minify_sksl.args = [sksl_minify, programKind, "--stringify", destPath] + moduleList

Definition at line 57 of file minify_sksl.py.

◆ dependencies

dictionary gn.minify_sksl.dependencies
Initial value:
1= {
2 'sksl_compute': ['sksl_gpu', 'sksl_shared'],
3 'sksl_gpu': ['sksl_shared'],
4 'sksl_frag': ['sksl_gpu', 'sksl_shared'],
5 'sksl_vert': ['sksl_gpu', 'sksl_shared'],
6 'sksl_graphite_frag': ['sksl_frag', 'sksl_gpu', 'sksl_shared'],
7 'sksl_graphite_frag_es2': ['sksl_frag', 'sksl_gpu', 'sksl_shared'],
8 'sksl_graphite_vert': ['sksl_vert', 'sksl_gpu', 'sksl_shared'],
9 'sksl_graphite_vert_es2': ['sksl_vert', 'sksl_gpu', 'sksl_shared'],
10 'sksl_public': ['sksl_shared'],
11 'sksl_rt_shader': ['sksl_public', 'sksl_shared'],
12 'sksl_shared': [],
13}

Definition at line 17 of file minify_sksl.py.

◆ destPath

string gn.minify_sksl.destPath = target + ".minified.sksl"

Definition at line 56 of file minify_sksl.py.

◆ moduleDir

gn.minify_sksl.moduleDir

Definition at line 33 of file minify_sksl.py.

◆ moduleList

list gn.minify_sksl.moduleList = [module]

Definition at line 48 of file minify_sksl.py.

◆ moduleName

gn.minify_sksl.moduleName

Definition at line 33 of file minify_sksl.py.

◆ modules

gn.minify_sksl.modules = sys.argv[3:]

Definition at line 14 of file minify_sksl.py.

◆ programKind

string gn.minify_sksl.programKind = "--compute"

Definition at line 40 of file minify_sksl.py.

◆ sksl_minify

gn.minify_sksl.sksl_minify = sys.argv[1]

Definition at line 12 of file minify_sksl.py.

◆ target

gn.minify_sksl.target = os.path.join(targetDir, moduleName)

Definition at line 36 of file minify_sksl.py.

◆ targetDir

gn.minify_sksl.targetDir = sys.argv[2]

Definition at line 13 of file minify_sksl.py.