1 @echo off 2 REM # Copyright 2015 The Android Open Source Project 3 REM # Copyright (C) 2015 Valve Corporation 4 REM 5 REM # Licensed under the Apache License, Version 2.0 (the "License"); 6 REM # you may not use this file except in compliance with the License. 7 REM # You may obtain a copy of the License at 8 REM 9 REM # http://www.apache.org/licenses/LICENSE-2.0 10 REM 11 REM # Unless required by applicable law or agreed to in writing, software 12 REM # distributed under the License is distributed on an "AS IS" BASIS, 13 REM # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 REM # See the License for the specific language governing permissions and 15 REM # limitations under the License. 16 17 if exist generated ( 18 rmdir /s /q generated 19 ) 20 mkdir generated\include generated\common 21 22 python ../vk-generate.py Android dispatch-table-ops layer > generated/include/vk_dispatch_table_helper.h 23 24 python ../vk_helper.py --gen_enum_string_helper ../include/vulkan/vulkan.h --abs_out_dir generated/include 25 python ../vk_helper.py --gen_struct_wrappers ../include/vulkan/vulkan.h --abs_out_dir generated/include 26 27 cd generated/include 28 python ../../../lvl_genvk.py -registry ../../../vk.xml thread_check.h 29 python ../../../lvl_genvk.py -registry ../../../vk.xml parameter_validation.h 30 python ../../../lvl_genvk.py -registry ../../../vk.xml unique_objects_wrappers.h 31