1e5c31af7Sopenharmony_ciset(GLCTS_RUNNER_SRCS
2e5c31af7Sopenharmony_ci	glcTestRunner.cpp
3e5c31af7Sopenharmony_ci	glcTestRunner.hpp
4e5c31af7Sopenharmony_ci	)
5e5c31af7Sopenharmony_ci
6e5c31af7Sopenharmony_ciif (DEQP_USE_X11)
7e5c31af7Sopenharmony_ci	add_definitions(-DDEQP_SUPPORT_X11=1)
8e5c31af7Sopenharmony_ciendif ()
9e5c31af7Sopenharmony_ci
10e5c31af7Sopenharmony_ciif (DEQP_SUPPORT_WGL)
11e5c31af7Sopenharmony_ci	add_definitions(-DDEQP_SUPPORT_WGL=1)
12e5c31af7Sopenharmony_ciendif ()
13e5c31af7Sopenharmony_ci
14e5c31af7Sopenharmony_ciinclude_directories(${PROJECT_BINARY_DIR}/external/vulkancts/framework/vulkan)
15e5c31af7Sopenharmony_ci
16e5c31af7Sopenharmony_ciif (DE_OS_IS_ANDROID)
17e5c31af7Sopenharmony_ci	include_directories(${PROJECT_SOURCE_DIR}/framework/platform/android)
18e5c31af7Sopenharmony_ci	# The Android platform file includes the Vulkan header, which needs the generated files
19e5c31af7Sopenharmony_ci	# to complete the header. SC is not supported, so include the non-SC generated folder.
20e5c31af7Sopenharmony_ci	include_directories(${PROJECT_SOURCE_DIR}/external/vulkancts/framework/vulkan/generated/vulkan)
21e5c31af7Sopenharmony_ci
22e5c31af7Sopenharmony_ci	set(GLCTS_RUNNER_SRCS
23e5c31af7Sopenharmony_ci		${GLCTS_RUNNER_SRCS}
24e5c31af7Sopenharmony_ci		glcAndroidTestActivity.cpp
25e5c31af7Sopenharmony_ci		glcAndroidTestActivity.hpp
26e5c31af7Sopenharmony_ci		)
27e5c31af7Sopenharmony_ciendif ()
28e5c31af7Sopenharmony_ci
29e5c31af7Sopenharmony_ciadd_library(glcts-runner STATIC ${GLCTS_RUNNER_SRCS})
30e5c31af7Sopenharmony_ciadd_dependencies(glcts-runner deqp-vk-inl)