blob: 3cf063eae005dba9cfa9a643f6077f1df5fb2863 [file] [log] [blame]
# Source files.
analyzer_src = files(
'analyzer_main.cpp',
'create_pel.cpp',
'filter-root-cause.cpp',
'hei_user_interface.cpp',
'initialize_isolator.cpp',
'ras-data/ras-data-parser.cpp',
'resolution.cpp',
'service_data.cpp',
)
plugins_src = files(
'plugins/p10-plugins.cpp',
)
# Library dependencies.
analyzer_deps = [
dbus_interfaces_dep,
libhei_dep,
nlohmann_json_dep,
sdbusplus_dep,
valijson_dep,
]
# Create static library.
analyzer_lib = static_library(
'analyzer_lib',
[ analyzer_src, plugins_src ],
include_directories : incdir,
dependencies : analyzer_deps,
cpp_args : [ package_args, test_arg ],
install : false,
)
# Install the RAS data files.
subdir('ras-data')