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