1# Source files.
2analyzer_src = files(
3    'analyzer_main.cpp',
4    'create_pel.cpp',
5    'filter-root-cause.cpp',
6    'guard.cpp',
7    'hei_user_interface.cpp',
8    'initialize_isolator.cpp',
9    'ras-data/ras-data-parser.cpp',
10    'resolution.cpp',
11    'service_data.cpp',
12)
13
14# Library dependencies.
15analyzer_deps = [
16    dbus_interfaces_dep,
17    libhei_dep,
18    nlohmann_json_dep,
19    sdbusplus_dep,
20    valijson_dep,
21]
22
23# Create static library.
24analyzer_lib = static_library(
25    'analyzer_lib',
26    analyzer_src,
27    include_directories : incdir,
28    dependencies : analyzer_deps,
29    cpp_args : [ package_args, test_arg ],
30    install : false,
31)
32
33# Install the RAS data files.
34subdir('ras-data')
35
36