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 | 9513582 | 2021-08-23 09:00:05 -0500 | [diff] [blame] | 6 | 'guard.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 7 | 'hei_user_interface.cpp', |
Zane Shelley | f4bd5ff | 2020-11-05 22:26:04 -0600 | [diff] [blame] | 8 | 'initialize_isolator.cpp', |
Zane Shelley | a9b4434 | 2021-08-08 17:15:52 -0500 | [diff] [blame] | 9 | 'ras-data/ras-data-parser.cpp', |
Zane Shelley | 0b8368c | 2021-03-18 17:33:41 -0500 | [diff] [blame] | 10 | 'resolution.cpp', |
Zane Shelley | 979e287 | 2021-09-20 22:46:06 -0500 | [diff] [blame] | 11 | 'service_data.cpp', |
Zane Shelley | 6e36587 | 2020-10-23 22:00:05 -0500 | [diff] [blame] | 12 | ) |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 13 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 14 | # Library dependencies. |
| 15 | analyzer_deps = [ |
| 16 | dbus_interfaces_dep, |
| 17 | libhei_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 18 | nlohmann_json_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 19 | sdbusplus_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 20 | valijson_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 21 | ] |
| 22 | |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 23 | # Create static library. |
| 24 | analyzer_lib = static_library( |
| 25 | 'analyzer_lib', |
| 26 | analyzer_src, |
| 27 | include_directories : incdir, |
| 28 | dependencies : analyzer_deps, |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 29 | cpp_args : [ package_args, test_arg ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 30 | install : false, |
| 31 | ) |
| 32 | |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 33 | # Install the RAS data files. |
Zane Shelley | 4f4f4aa | 2021-08-02 12:41:25 -0500 | [diff] [blame] | 34 | subdir('ras-data') |
| 35 | |