diff options
author | Emil Velikov <[email protected]> | 2017-02-28 18:53:04 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-28 18:53:04 +0000 |
commit | ca7d2025a7547275101efbca0b45adb67f8fa59d (patch) | |
tree | 8fb0fbc0c67efe47a9c9e6a3ab9b1469e62e3e6f /src/vulkan/Android.mk | |
parent | 14281c9035d6b30cda08fd6ab573ee3bfafa2c2d (diff) |
vulkan: provide vk.xml as argument to the python generator
Do not hardcode the file in the python script, but pass it via the build
system(s). The latter is the only one that should know about the file
location/tree structure.
Cc: Dylan Baker <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/vulkan/Android.mk')
-rw-r--r-- | src/vulkan/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/Android.mk b/src/vulkan/Android.mk index 0825c1ac108..9f71d8ff8f3 100644 --- a/src/vulkan/Android.mk +++ b/src/vulkan/Android.mk @@ -45,7 +45,7 @@ vulkan_api_xml = $(MESA_TOP)/src/vulkan/registry/vk.xml $(LOCAL_GENERATED_SOURCES): $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py $(vulkan_api_xml) @echo "target Generated: $(PRIVATE_MODULE) <= $(notdir $(@))" @mkdir -p $(dir $@) - $(hide) $(MESA_PYTHON2) $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py --outdir $(intermediates)/util + $(hide) $(MESA_PYTHON2) $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py --xml $(vulkan_api_xml) --outdir $(intermediates)/util LOCAL_EXPORT_C_INCLUDE_DIRS := \ $(intermediates) |