blob: 0c69315c851d1ca2130847f8a7b6767cc8a6addd [file] [log] [blame]
Ben Tyner9ae5ca42020-02-28 13:13:50 -06001# gather analyzer sources to be used here and elsewhere if needed
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 Shelley6e365872020-10-23 22:00:05 -05007 '../util/ffdc_file.cpp',
Zane Shelleyf4bd5ff2020-11-05 22:26:04 -06008 '../util/pdbg.cpp',
Zane Shelley6e365872020-10-23 22:00:05 -05009 '../util/temporary_file.cpp',
10)
Ben Tyner9ae5ca42020-02-28 13:13:50 -060011
Zane Shelley61465db2020-10-30 14:53:11 -050012# Library dependencies.
13analyzer_deps = [
14 dbus_interfaces_dep,
15 libhei_dep,
16 sdbusplus_dep,
17]
18
Ben Tyner0205f3b2020-02-24 10:24:47 -060019# Create hardware error analyzer library
20analyzer = static_library('analyzer',
Ben Tyner9ae5ca42020-02-28 13:13:50 -060021 analyzer_src,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050022 include_directories : incdir,
Zane Shelley61465db2020-10-30 14:53:11 -050023 dependencies : analyzer_deps,
Ben Tyner13683082020-06-25 12:49:47 -050024 cpp_args : test_arg,
Ben Tynerb859d792020-05-06 21:29:47 -050025 install : false)