Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 1 | # gather analyzer sources to be used here and elsewhere if needed |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 2 | analyzer_src = files( |
| 3 | 'analyzer_main.cpp', |
| 4 | 'hei_user_interface.cpp', |
Zane Shelley | f4bd5ff | 2020-11-05 22:26:04 -0600 | [diff] [blame] | 5 | 'initialize_isolator.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 6 | '../util/ffdc_file.cpp', |
Zane Shelley | f4bd5ff | 2020-11-05 22:26:04 -0600 | [diff] [blame] | 7 | '../util/pdbg.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 8 | '../util/temporary_file.cpp', |
| 9 | ) |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 10 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 11 | # Library dependencies. |
| 12 | analyzer_deps = [ |
| 13 | dbus_interfaces_dep, |
| 14 | libhei_dep, |
| 15 | sdbusplus_dep, |
| 16 | ] |
| 17 | |
Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 18 | # Create hardware error analyzer library |
| 19 | analyzer = static_library('analyzer', |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 20 | analyzer_src, |
Zane Shelley | 0c44c2f | 2020-06-05 17:14:31 -0500 | [diff] [blame] | 21 | include_directories : incdir, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 22 | dependencies : analyzer_deps, |
Ben Tyner | 1368308 | 2020-06-25 12:49:47 -0500 | [diff] [blame] | 23 | cpp_args : test_arg, |
Ben Tyner | b859d79 | 2020-05-06 21:29:47 -0500 | [diff] [blame] | 24 | install : false) |