Add ComponentManager class to handle device traits/components
This is an initial implementation of component manager which will
handle device trait and component definitions, command queue and
state.
This implementation has no handling for state or state update
notifications yet.
BUG: 25841719
Change-Id: I29c5542851798dfa4e5ea1e77b6471b8dd276fb0
Reviewed-on: https://weave-review.googlesource.com/1739
Reviewed-by: Vitaly Buka <vitalybuka@google.com>
diff --git a/libweave.gypi b/libweave.gypi
index 5930e8f..f74a9bf 100644
--- a/libweave.gypi
+++ b/libweave.gypi
@@ -12,6 +12,7 @@
'src/commands/command_manager.cc',
'src/commands/command_queue.cc',
'src/commands/schema_constants.cc',
+ 'src/component_manager.cc',
'src/config.cc',
'src/data_encoding.cc',
'src/device_manager.cc',
@@ -64,6 +65,7 @@
'src/commands/command_instance_unittest.cc',
'src/commands/command_manager_unittest.cc',
'src/commands/command_queue_unittest.cc',
+ 'src/component_manager_unittest.cc',
'src/config_unittest.cc',
'src/data_encoding_unittest.cc',
'src/device_registration_info_unittest.cc',