1# Source files. 2util_src = files( 3 'data_file.cpp', 4 'dbus.cpp', 5 'ffdc.cpp', 6 'ffdc_file.cpp', 7 'pdbg-no-sim.cpp', 8 'pdbg.cpp', 9 'pldm.cpp', 10 'temporary_file.cpp', 11) 12 13# Library dependencies. 14util_deps = [ 15 libhei_dep, 16 libpdbg_dep, 17 libpldm_dep, 18 nlohmann_json_dep, 19 phosphor_logging_dep, 20 valijson_dep, 21] 22 23if get_option('phal').allowed() 24 util_deps += dependency('libdt-api') 25endif 26 27# Create static library. 28util_lib = static_library( 29 'util_lib', 30 util_src, 31 include_directories: incdir, 32 dependencies: util_deps, 33 cpp_args: [package_args], 34 install: false, 35) 36 37# Install the util data files 38subdir('data') 39