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] 17 18if get_option('phal').enabled() 19 util_deps += dependency('libdt-api') 20endif 21 22# Create static library. 23util_lib = static_library( 24 'util_lib', 25 util_src, 26 include_directories : incdir, 27 dependencies : util_deps, 28 cpp_args : [ package_args, test_arg ], 29 install : false, 30) 31 32# Install the util data files 33subdir('data') 34