mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 14:00:30 +01:00
v2: attempt to fix Android build (Emil) v3: add missing include path Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
14 lines
326 B
Python
14 lines
326 B
Python
Import('*')
|
|
|
|
from sys import executable as python_cmd
|
|
|
|
LOCALEDIR = env.Dir('.').srcnode().abspath
|
|
|
|
xmlpool_options, = env.CodeGenerate(
|
|
target = 'options.h',
|
|
script = 'gen_xmlpool.py',
|
|
source = ['t_options.h'],
|
|
command = python_cmd + ' $SCRIPT $SOURCE ' + LOCALEDIR + ' > $TARGET'
|
|
)
|
|
|
|
Export('xmlpool_options')
|