xref: /openbmc/openpower-hw-diags/analyzer/meson.build (revision c322c328f45f16d1e6f0e4de6dbce1eeb2e00a5d)
1c252894dSZane Shelley# Source files.
26e36587aSZane Shelleyanalyzer_src = files(
36e36587aSZane Shelley    'analyzer_main.cpp',
4d3b9bac9SZane Shelley    'create_pel.cpp',
565fefb2cSZane Shelley    'filter-root-cause.cpp',
66e36587aSZane Shelley    'hei_user_interface.cpp',
7f4bd5ff6SZane Shelley    'initialize_isolator.cpp',
8a9b44344SZane Shelley    'ras-data/ras-data-parser.cpp',
90b8368cbSZane Shelley    'resolution.cpp',
10979e2871SZane Shelley    'service_data.cpp',
116e36587aSZane Shelley)
129ae5ca41SBen Tyner
1315527a43SZane Shelleyplugins_src = files(
14c62813d4SZane Shelley    'plugins/ody-plugins.cpp',
1515527a43SZane Shelley    'plugins/p10-plugins.cpp',
16d195b716SZane Shelley    'plugins/p10-tod-plugins.cpp',
1715527a43SZane Shelley)
1815527a43SZane Shelley
1961465db5SZane Shelley# Library dependencies.
2061465db5SZane Shelleyanalyzer_deps = [
2161465db5SZane Shelley    dbus_interfaces_dep,
2261465db5SZane Shelley    libhei_dep,
235191bae9SZane Shelley    nlohmann_json_dep,
24*9de0f649SAndrew Jeffery    phosphor_logging_dep,
2561465db5SZane Shelley    sdbusplus_dep,
265191bae9SZane Shelley    valijson_dep,
2761465db5SZane Shelley]
2861465db5SZane Shelley
29c252894dSZane Shelley# Create static library.
30c252894dSZane Shelleyanalyzer_lib = static_library(
31c252894dSZane Shelley    'analyzer_lib',
32475237a4SZane Shelley    [analyzer_src],
330c44c2feSZane Shelley    include_directories: incdir,
3461465db5SZane Shelley    dependencies: analyzer_deps,
359cdfa247SZane Shelley    cpp_args: [package_args],
36c252894dSZane Shelley    install: false,
37c252894dSZane Shelley)
38c252894dSZane Shelley
39d2854b75SZane Shelley# Install the RAS data files.
404f4f4aa5SZane Shelleysubdir('ras-data')
414f4f4aa5SZane Shelley
42