xref: /OK3568_Linux_fs/buildroot/package/apitrace/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyuncomment "apitrace needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 7"
2*4882a593Smuzhiyun	depends on BR2_USE_MMU
3*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
4*4882a593Smuzhiyun		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
5*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
6*4882a593Smuzhiyun
7*4882a593Smuzhiyunconfig BR2_PACKAGE_APITRACE
8*4882a593Smuzhiyun	bool "apitrace"
9*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
10*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
11*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
12*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # dlfcn.h
13*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
14*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
15*4882a593Smuzhiyun	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
16*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPNG
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Trace and replay OpenGL and OpenGL ES APIs calls to/from a
19*4882a593Smuzhiyun	  file. You may install apitrace GUI from your distribution to
20*4882a593Smuzhiyun	  inspect generated traces.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  http://apitrace.github.io/
23