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