1 #######################################################################
2 # SConscript for vega state_tracker
6 from sys import executable as python_cmd
10 env.Append(CPPPATH = [
13 env.Append(CPPDEFINES = [
14 'VEGA_VERSION_STRING=',
49 api_tmp = env.CodeGenerate(
50 target = '#/src/gallium/state_trackers/vega/api_tmp.h',
51 script = '#src/mapi/mapi/mapi_abi.py',
52 source = '#src/mapi/vgapi/vgapi.csv',
53 command = python_cmd + ' $SCRIPT --printer vgapi --mode app $SOURCE > $TARGET'
55 env.Depends(vega_sources, api_tmp)
57 st_vega = env.ConvenienceLibrary(
59 source = vega_sources,