Add a class to handle RDE commands
This class is used to process RDE packets received from BIOS-BMC
circular buffer. RdeCommandHandler will manage dictionary data,
decode RDE BEJ encoded payloads and push them to the ExternalStorer.
Tested:
Tested this with unit tests.
Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: Ic66e4e4e2afa523906835713d36015457f324fcc
diff --git a/src/rde/meson.build b/src/rde/meson.build
index 482e9ff..c6831e2 100644
--- a/src/rde/meson.build
+++ b/src/rde/meson.build
@@ -1,9 +1,17 @@
+libbej_dep = dependency('libbej')
+
+rde_pre = declare_dependency(
+ include_directories: [rde_inc],
+ dependencies: [libbej_dep])
+
rde_lib = static_library(
'rde',
'rde_dictionary_manager.cpp',
'external_storer_file.cpp',
- include_directories : rde_inc,
- implicit_include_directories: false)
+ 'rde_handler.cpp',
+ implicit_include_directories: false,
+ dependencies: rde_pre)
rde_dep = declare_dependency(
- link_with: rde_lib)
+ link_with: rde_lib,
+ dependencies: rde_pre)