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_dep = [] 10hybrid_src = [] 11 12if not get_option('hybrid-sensors').disabled() 13 hybrid_dep = [ 14 mapper, 15 ] 16 17 hybrid_src = [ 18 'sensorhandler.cpp', 19 'sensordatahandler.cpp', 20 'ipmisensor.cpp', 21 generated_src, 22 ] 23endif 24 25dbus_sdr_pre = declare_dependency( 26 include_directories: root_inc, 27 dependencies: [ 28 crypto, 29 nlohmann_json_dep, 30 phosphor_logging_dep, 31 ipmid_dep, 32 sensorutils_dep, 33 hybrid_dep, 34 ]) 35 36dbus_sdr_src = [ 37 'dbus-sdr/sdrutils.cpp', 38 'dbus-sdr/sensorcommands.cpp', 39 'dbus-sdr/storagecommands.cpp', 40 hybrid_src, 41] 42