1# Copyright 2023 Android Open Source Project 2# SPDX-License-Identifier: MIT 3 4subdir('magma_dec') 5 6files_lib_magma_server = files( 7 'Connection.cpp', 8 'Decoder.cpp', 9 'DrmBuffer.cpp', 10 'DrmContext.cpp', 11 'DrmDevice.cpp', 12 'IntelDrmDecoder.cpp', 13) 14 15magma_server_cpp_args = [ 16 '-DGFXSTREAM_MAGMA_USE_INTEL_DRM=1', 17] 18 19lib_magma_server = static_library( 20 'magma_server', 21 files_lib_magma_server, 22 cpp_args: gfxstream_host_args + magma_server_cpp_args, 23 include_directories: [inc_root, inc_gfxstream_include, inc_include, inc_magma_external, 24 inc_magma_external_lib, inc_apigen_codec, inc_magma_dec, 25 inc_stream_servers], 26 dependencies: [drm_dep, aemu_base_dep, aemu_logging_dep], 27 link_with: [lib_magma_dec, lib_apigen_codec], 28) 29