blob: ebeed4df9c35b2d7af7b72f7062d1fe2e5f65f7c [file] [log] [blame]
Zane Shelleyc2528942020-12-02 15:42:42 -06001# Source files.
Zane Shelley6e365872020-10-23 22:00:05 -05002analyzer_src = files(
3 'analyzer_main.cpp',
Zane Shelleyd3b9bac2020-11-17 21:59:12 -06004 'create_pel.cpp',
Zane Shelley6e365872020-10-23 22:00:05 -05005 'hei_user_interface.cpp',
Zane Shelleyf4bd5ff2020-11-05 22:26:04 -06006 'initialize_isolator.cpp',
Zane Shelleya9b44342021-08-08 17:15:52 -05007 'ras-data/ras-data-parser.cpp',
Zane Shelley0b8368c2021-03-18 17:33:41 -05008 'resolution.cpp',
Zane Shelley6e365872020-10-23 22:00:05 -05009)
Ben Tyner9ae5ca42020-02-28 13:13:50 -060010
Zane Shelley61465db2020-10-30 14:53:11 -050011# Library dependencies.
12analyzer_deps = [
13 dbus_interfaces_dep,
14 libhei_dep,
Zane Shelley5191bae2021-08-04 22:48:28 -050015 nlohmann_json_dep,
Zane Shelley61465db2020-10-30 14:53:11 -050016 sdbusplus_dep,
Zane Shelley5191bae2021-08-04 22:48:28 -050017 valijson_dep,
Zane Shelley61465db2020-10-30 14:53:11 -050018]
19
Zane Shelleyc2528942020-12-02 15:42:42 -060020# Create static library.
21analyzer_lib = static_library(
22 'analyzer_lib',
23 analyzer_src,
24 include_directories : incdir,
25 dependencies : analyzer_deps,
Zane Shelleyd2854b72021-08-04 22:23:20 -050026 cpp_args : [ package_args, test_arg ],
Zane Shelleyc2528942020-12-02 15:42:42 -060027 install : false,
28)
29
Zane Shelleyd2854b72021-08-04 22:23:20 -050030# Install the RAS data files.
Zane Shelley4f4f4aa2021-08-02 12:41:25 -050031subdir('ras-data')
32