1sensorutils_lib = static_library( 2 'sensorutils', 3 'sensorutils.cpp', 4 include_directories: root_inc, 5 implicit_include_directories: false) 6 7sensorutils_dep = declare_dependency(link_with: sensorutils_lib) 8 9hybrid_src = [] 10 11if not get_option('hybrid-sensors').disabled() 12 hybrid_src = [ 13 'sensorhandler.cpp', 14 'sensordatahandler.cpp', 15 'ipmisensor.cpp', 16 generated_src, 17 ] 18endif 19 20dbus_sdr_pre = declare_dependency( 21 include_directories: root_inc, 22 dependencies: [ 23 crypto, 24 nlohmann_json_dep, 25 phosphor_logging_dep, 26 ipmid_dep, 27 sensorutils_dep, 28 ]) 29 30dbus_sdr_src = [ 31 'dbus-sdr/sdrutils.cpp', 32 'dbus-sdr/sensorcommands.cpp', 33 'dbus-sdr/storagecommands.cpp', 34 hybrid_src, 35] 36