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    'plugins/p10-tod-plugins.cpp',
16)
17
18# Library dependencies.
19analyzer_deps = [
20    dbus_interfaces_dep,
21    fmt_dep,
22    libhei_dep,
23    nlohmann_json_dep,
24    sdbusplus_dep,
25    valijson_dep,
26]
27
28# Create static library.
29analyzer_lib = static_library(
30    'analyzer_lib',
31    [ analyzer_src ],
32    include_directories : incdir,
33    dependencies : analyzer_deps,
34    cpp_args : [ package_args, test_arg ],
35    install : false,
36)
37
38# Install the RAS data files.
39subdir('ras-data')
40
41