1# Copyright © 2017 Intel Corporation 2# SPDX-License-Identifier: MIT 3 4main_dispatch_h = custom_target( 5 'dispatch.h', 6 input : [files('../../mapi/glapi/gen/gl_table.py'), gl_and_es_api_files], 7 output : 'dispatch.h', 8 command : [prog_python, '@INPUT0@', '-f', '@INPUT1@', '-m', 'dispatch'], 9 depend_files : glapi_gen_depends, 10 capture : true, 11) 12 13main_marshal_generated_h = custom_target( 14 'marshal_generated.h', 15 input : [files('../../mapi/glapi/gen/gl_marshal_h.py'), gl_and_es_api_files], 16 output : 'marshal_generated.h', 17 command : [prog_python, '@INPUT0@', '@INPUT1@', sizeof_pointer], 18 depend_files : files('../../mapi/glapi/gen/marshal_XML.py') + glapi_gen_depends, 19 capture : true, 20) 21 22if _shader_replacement != '' 23 # shader replacement 24 shader_replacement_h = custom_target( 25 'shader_replacement.h', 26 input: [files(_shader_replacement + '/process_shaders.py')], 27 output: 'shader_replacement.h', 28 command: [prog_python, '@INPUT0@', _shader_replacement, '@OUTPUT@'], 29 build_always: true, 30 ) 31endif 32