1# Copyright 2023 Android Open Source Project
2# SPDX-License-Identifier: MIT
3
4files_emulated_textures = files(
5  'AstcTexture.cpp',
6  'CompressedImageInfo.cpp',
7  'GpuDecompressionPipeline.cpp',
8)
9
10emulated_texture_args = [
11  '-DVK_GFXSTREAM_STRUCTURE_TYPE_EXT'
12]
13
14lib_emulated_textures = static_library(
15  'emulated_textures',
16  files_emulated_textures,
17  cpp_args: emulated_texture_args + gfxstream_host_args,
18  include_directories: [inc_utils, inc_root, inc_vulkan_headers, inc_vulkan_server,
19                        inc_gfxstream_include, inc_include, inc_cereal_common, inc_stream_servers],
20  link_with: [lib_compressed_textures],
21  dependencies: [aemu_base_dep, aemu_common_dep]
22)
23