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( |
| 14 | 'plugins/p10-plugins.cpp', |
Zane Shelley | d195b71 | 2022-01-26 13:26:34 -0600 | [diff] [blame] | 15 | 'plugins/p10-tod-plugins.cpp', |
Zane Shelley | 15527a4 | 2021-12-16 21:43:13 -0600 | [diff] [blame] | 16 | ) |
| 17 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 18 | # Library dependencies. |
| 19 | analyzer_deps = [ |
| 20 | dbus_interfaces_dep, |
Zane Shelley | 55e7fec | 2022-01-28 15:29:44 -0600 | [diff] [blame^] | 21 | fmt_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 22 | libhei_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 23 | nlohmann_json_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 24 | sdbusplus_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 25 | valijson_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 26 | ] |
| 27 | |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 28 | # Create static library. |
| 29 | analyzer_lib = static_library( |
| 30 | 'analyzer_lib', |
Zane Shelley | 475237a | 2022-02-03 11:04:54 -0600 | [diff] [blame] | 31 | [ analyzer_src ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 32 | include_directories : incdir, |
| 33 | dependencies : analyzer_deps, |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 34 | cpp_args : [ package_args, test_arg ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 35 | install : false, |
| 36 | ) |
| 37 | |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 38 | # Install the RAS data files. |
Zane Shelley | 4f4f4aa | 2021-08-02 12:41:25 -0500 | [diff] [blame] | 39 | subdir('ras-data') |
| 40 | |