| 1 |
# Copyright 2022 Android Open Source Project |
| 2 |
# SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
if with_virtgpu_kumquat |
| 5 |
subdir('vulkan-mapper') |
| 6 |
files_libplatform_virtgpu_kumquat = files( |
| 7 |
'VirtGpuKumquatBlob.cpp', |
| 8 |
'VirtGpuKumquatBlobMapping.cpp', |
| 9 |
'VirtGpuKumquatDevice.cpp', |
| 10 |
'VirtGpuKumquatSync.cpp', |
| 11 |
) |
| 12 |
else |
| 13 |
dep_gfxstream_vulkan_mapper = null_dep |
| 14 |
files_libplatform_virtgpu_kumquat = files('VirtGpuKumquatStub.cpp') |
| 15 |
endif |
| 16 |
|
| 17 |
libplatform_virtgpu_kumquat = static_library( |
| 18 |
'platform_virtgpu_kumquat', |
| 19 |
files_libplatform_virtgpu_kumquat, |
| 20 |
cpp_args: gfxstream_guest_args, |
| 21 |
include_directories: [ |
| 22 |
inc_platform_virtgpu, |
| 23 |
inc_src, |
| 24 |
inc_vulkan_util, |
| 25 |
inc_include, |
| 26 |
], |
| 27 |
dependencies: [ |
| 28 |
idep_vulkan_util_headers, |
| 29 |
idep_mesautil, |
| 30 |
dep_virtgpu_kumquat_ffi, |
| 31 |
dep_gfxstream_vulkan_mapper, |
| 32 |
], |
| 33 |
) |