meson: wire the new generator for es1 and es2

v2: use ${foo})_py naming (Dylan)
v3: use symbolic name for genCommon.py

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> (v2)
This commit is contained in:
Emil Velikov
2018-11-20 17:30:47 +00:00
committed by Emil Velikov
parent 656845301d
commit 0842bc879b
4 changed files with 14 additions and 6 deletions
+3 -3
View File
@@ -20,10 +20,10 @@
es2_glapi_mapi_tmp_h = custom_target(
'es2_glapi_mapi_tmp.h',
input : [mapi_abi_py, gl_and_es_api_files],
input : [glapi_gen_mapi_py, glapi_gen_gl_xml],
output : 'glapi_mapi_tmp.h',
command : [prog_python, '@INPUT0@', '--printer', 'es2api', '@INPUT1@'],
depend_files : api_xml_files,
command : [prog_python, '@INPUT0@', 'glesv2', '@INPUT1@'],
depend_files : glapi_gen_mapi_deps,
capture : true,
)