summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-android/android-generate.bat4
-rwxr-xr-xbuild-android/android-generate.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/build-android/android-generate.bat b/build-android/android-generate.bat
index 4d1e0504..283be55c 100644
--- a/build-android/android-generate.bat
+++ b/build-android/android-generate.bat
@@ -19,9 +19,9 @@ if exist generated (
)
mkdir generated\include generated\common
-py -3 ../scripts/vk_helper.py --gen_struct_wrappers ../include/vulkan/vulkan.h --abs_out_dir generated/include
-
cd generated/include
+py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.h
+py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.cpp
py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.h
py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.c
py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h
diff --git a/build-android/android-generate.sh b/build-android/android-generate.sh
index e081b1c3..09022a39 100755
--- a/build-android/android-generate.sh
+++ b/build-android/android-generate.sh
@@ -21,8 +21,8 @@ cd $dir
rm -rf generated
mkdir -p generated/include generated/common
-python3 ../scripts/vk_helper.py --gen_struct_wrappers ../include/vulkan/vulkan.h --abs_out_dir generated/include
-
+( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.h )
+( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.cpp )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.h )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.c )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h )