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 | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 13 | # Library dependencies. |
| 14 | analyzer_deps = [ |
| 15 | dbus_interfaces_dep, |
| 16 | libhei_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 17 | nlohmann_json_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 18 | sdbusplus_dep, |
Zane Shelley | 5191bae | 2021-08-04 22:48:28 -0500 | [diff] [blame] | 19 | valijson_dep, |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 20 | ] |
| 21 | |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 22 | # Create static library. |
| 23 | analyzer_lib = static_library( |
| 24 | 'analyzer_lib', |
| 25 | analyzer_src, |
| 26 | include_directories : incdir, |
| 27 | dependencies : analyzer_deps, |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 28 | cpp_args : [ package_args, test_arg ], |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 29 | install : false, |
| 30 | ) |
| 31 | |
Zane Shelley | d2854b7 | 2021-08-04 22:23:20 -0500 | [diff] [blame] | 32 | # Install the RAS data files. |
Zane Shelley | 4f4f4aa | 2021-08-02 12:41:25 -0500 | [diff] [blame] | 33 | subdir('ras-data') |
| 34 | |