Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 1 | # Source files. |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 2 | analyzer_src = files( |
| 3 | 'analyzer_main.cpp', |
Zane Shelley | d3b9bac | 2020-11-17 21:59:12 -0600 | [diff] [blame] | 4 | 'create_pel.cpp', |
Zane Shelley | 65fefb2 | 2021-10-18 15:35:26 -0500 | [diff] [blame] | 5 | 'filter-root-cause.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 6 | 'hei_user_interface.cpp', |
Zane Shelley | f4bd5ff | 2020-11-05 22:26:04 -0600 | [diff] [blame] | 7 | 'initialize_isolator.cpp', |
Zane Shelley | a9b4434 | 2021-08-08 17:15:52 -0500 | [diff] [blame] | 8 | 'ras-data/ras-data-parser.cpp', |
Zane Shelley | 0b8368c | 2021-03-18 17:33:41 -0500 | [diff] [blame] | 9 | 'resolution.cpp', |
Zane Shelley | 979e287 | 2021-09-20 22:46:06 -0500 | [diff] [blame] | 10 | 'service_data.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 11 | ) |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 12 | |
Zane Shelley | 15527a4 | 2021-12-16 21:43:13 -0600 | [diff] [blame] | 13 | plugins_src = files( |
Zane Shelley | c62813d | 2023-08-22 16:52:19 -0500 | [diff] [blame] | 14 | 'plugins/ody-plugins.cpp', |
Zane Shelley | 15527a4 | 2021-12-16 21:43:13 -0600 | [diff] [blame] | 15 | 'plugins/p10-plugins.cpp', |
Zane Shelley | d195b71 | 2022-01-26 13:26:34 -0600 | [diff] [blame] | 16 | 'plugins/p10-tod-plugins.cpp', |
Zane Shelley | 15527a4 | 2021-12-16 21:43:13 -0600 | [diff] [blame] | 17 | ) |
| 18 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 19 | # Library dependencies. |
| 20 | analyzer_deps = [ |
| 21 | dbus_interfaces_dep, |
| 22 | libhei_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 23 | nlohmann_json_dep, |
Andrew Jeffery | 9de0f64 | 2024-06-27 20:07:09 +0930 | [diff] [blame] | 24 | phosphor_logging_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 25 | sdbusplus_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 26 | valijson_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 27 | ] |
| 28 | |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 29 | # Create static library. |
| 30 | analyzer_lib = static_library( |
| 31 | 'analyzer_lib', |
Zane Shelley | 475237a | 2022-02-03 11:04:54 -0600 | [diff] [blame] | 32 | [ analyzer_src ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 33 | include_directories : incdir, |
| 34 | dependencies : analyzer_deps, |
Zane Shelley | 9cdfa24 | 2022-03-24 13:24:46 -0500 | [diff] [blame] | 35 | cpp_args : [ package_args ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 36 | install : false, |
| 37 | ) |
| 38 | |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 39 | # Install the RAS data files. |
Zane Shelley | 4f4f4aa | 2021-08-02 12:41:25 -0500 | [diff] [blame] | 40 | subdir('ras-data') |
| 41 | |