libgallium_nine = shared_library(
'd3dadapter9',
- [files('description.c', 'getproc.c', 'drm.c'), xmlpool_options_h],
+ files('description.c', 'getproc.c', 'drm.c'),
include_directories : [
inc_include, inc_src, inc_loader, inc_mapi, inc_mesa, inc_util,
inc_dri_common, inc_gallium, inc_gallium_aux, inc_gallium_winsys,
libswkmsdri, libnir,
],
dependencies : [
- dep_selinux, dep_expat, dep_libdrm, dep_llvm, dep_thread,
+ dep_selinux, dep_libdrm, dep_llvm, dep_thread, idep_xmlconfig,
driver_swrast, driver_r300, driver_r600, driver_radeonsi, driver_nouveau,
driver_i915, driver_svga, driver_iris
],
libgallium_dri = shared_library(
'gallium_dri',
- [files('target.c'), xmlpool_options_h],
+ files('target.c'),
include_directories : [
inc_common, inc_util, inc_dri_common, inc_gallium_drivers,
inc_gallium_winsys, include_directories('../../state_trackers/dri'),
libswkmsdri,
],
dependencies : [
- dep_selinux, dep_expat, dep_libdrm, dep_llvm, dep_thread,
+ dep_selinux, dep_libdrm, dep_llvm, dep_thread, idep_xmlconfig,
driver_swrast, driver_r300, driver_r600, driver_radeonsi, driver_nouveau,
driver_kmsro, driver_v3d, driver_vc4, driver_freedreno, driver_etnaviv,
driver_tegra, driver_i915, driver_svga, driver_virgl,
libi965 = static_library(
'i965',
- [files_i965, ir_expression_operation_h, xmlpool_options_h],
+ [files_i965, ir_expression_operation_h],
include_directories : [
- inc_common, inc_intel, inc_dri_common, inc_util, inc_include,
+ inc_common, inc_intel, inc_dri_common, inc_include,
],
c_args : [c_vis_args, no_override_init_args, c_sse2_args],
cpp_args : [cpp_vis_args, c_sse2_args],
i965_gen_libs, libintel_common, libintel_dev, libisl, libintel_compiler,
libblorp, libintel_perf
],
- dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml],
+ dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml, idep_xmlconfig],
)
[],
link_whole : _dri_drivers,
link_with : [
- libmegadriver_stub, libdricommon, libxmlconfig, libglapi, libmesa_util,
+ libmegadriver_stub, libdricommon, libglapi, libmesa_util,
libmesa_classic,
],
dependencies : [
- dep_selinux, dep_libdrm, dep_expat, dep_m, dep_thread, dep_dl, idep_nir,
+ dep_selinux, dep_libdrm, dep_m, dep_thread, dep_dl, idep_nir, idep_xmlconfig,
],
link_args : [ld_args_build_id, ld_args_bsymbolic, ld_args_gc_sections],
# Will be deleted during installation, see install_megadrivers.py
build_by_default : false,
)
+idep_xmlconfig = declare_dependency(
+ sources : xmlpool_options_h,
+ include_directories : inc_util,
+ link_with : libxmlconfig,
+ dependencies : dep_expat,
+)
+
if with_tests
test(
'u_atomic',