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