xref: /aosp_15_r20/external/igt-gpu-tools/tests/amdgpu/meson.build (revision d83cc019efdc2edc6c4b16e9034a3ceb8d35d77c)
1
2amdgpu_progs = []
3amdgpu_deps = test_deps
4if libdrm_amdgpu.found()
5	amdgpu_progs += [ 'amd_abm',
6			  'amd_basic',
7			  'amd_bypass',
8			  'amd_color',
9			  'amd_cs_nop',
10			  'amd_prime',
11			]
12	amdgpu_deps += libdrm_amdgpu
13endif
14
15foreach prog : amdgpu_progs
16	test_executables += executable(prog, prog + '.c',
17				       dependencies : amdgpu_deps,
18				       install_dir : amdgpudir,
19				       install_rpath : amdgpudir_rpathdir,
20				       install : true)
21	test_list += join_paths('amdgpu', prog)
22endforeach
23