summaryrefslogtreecommitdiff
path: root/build-android
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-12-29 14:34:00 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-01-10 10:21:32 -0700
commitacd5214411d3e6f25eca25cafd5e5c56d9e5d752 (patch)
treee9d91ac8e3c109902b3e61e1624e845d71d5d77c /build-android
parentb2ff2f1e22c1baadf92a4fdba1c147a0f74616d9 (diff)
android: Add codegen for struct_size_helpers
Change-Id: I264d7ecca323089bda1583dbcf9eb751736146a7
Diffstat (limited to 'build-android')
-rw-r--r--build-android/android-generate.bat2
-rwxr-xr-xbuild-android/android-generate.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/build-android/android-generate.bat b/build-android/android-generate.bat
index 7761e21d..4d1e0504 100644
--- a/build-android/android-generate.bat
+++ b/build-android/android-generate.bat
@@ -22,6 +22,8 @@ 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_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
py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_dispatch_table_helper.h
py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml thread_check.h
diff --git a/build-android/android-generate.sh b/build-android/android-generate.sh
index 4896c809..697626ad 100755
--- a/build-android/android-generate.sh
+++ b/build-android/android-generate.sh
@@ -23,6 +23,8 @@ 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_string_size_helper.h )
+( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_string_size_helper.c )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_dispatch_table_helper.h )
( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml thread_check.h )