],
c_args : [c_vis_args, c_sse2_args],
cpp_args : [cpp_vis_args, c_sse2_args],
- dependencies : [dep_libdrm, dep_valgrind, idep_genxml],
+ dependencies : [dep_libdrm, dep_valgrind, idep_genxml, idep_libintel_common],
link_with : [
- iris_gen_libs, libintel_common, libintel_compiler, libintel_dev, libisl,
+ iris_gen_libs, libintel_compiler, libintel_dev, libisl,
libblorp
],
)
dependencies : [dep_expat, dep_libdrm, dep_thread, idep_genxml],
)
+libintel_extra_dependencies = []
+if with_platform_android
+ libintel_extra_dependencies += dep_android
+endif
+
+idep_libintel_common = declare_dependency(
+ link_with: [libintel_common],
+ dependencies: [libintel_extra_dependencies],
+)
+
install_intel_gpu_tests = get_option('install-intel-gpu-tests')
if install_intel_gpu_tests
endif
if with_platform_android
- anv_deps += dep_android
anv_flags += '-DVK_USE_PLATFORM_ANDROID_KHR'
libanv_files += files('anv_android.c')
else
],
link_whole : [libanv_common, libanv_gen_libs],
link_with : [
- libintel_compiler, libintel_common, libintel_dev, libisl, libblorp,
- libvulkan_wsi,
+ libintel_compiler, libintel_dev, libisl, libblorp, libvulkan_wsi,
],
dependencies : [
- dep_thread, dep_dl, dep_m, anv_deps,
+ dep_thread, dep_dl, dep_m, anv_deps, idep_libintel_common,
idep_nir, idep_genxml, idep_vulkan_util, idep_mesautil,
],
c_args : anv_flags,
c_args : [c_vis_args, no_override_init_args, c_sse2_args],
cpp_args : [cpp_vis_args, c_sse2_args],
link_with : [
- i965_gen_libs, libintel_common, libintel_dev, libisl, libintel_compiler,
- libblorp, libintel_perf
+ i965_gen_libs, libintel_dev, libisl, libintel_compiler, libblorp,
+ libintel_perf
+ ],
+ dependencies : [
+ dep_libdrm, dep_valgrind, idep_libintel_common, idep_nir_headers, idep_genxml,
+ idep_xmlconfig,
],
- dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml, idep_xmlconfig],
)