meson.build (baade6cd51002947ad25145e9ca38e6c96956663) | meson.build (7f3e84a151e106d9227d08358e9ee3fd225b34c4) |
---|---|
1# Gather the Configuration data 2 3conf_data = configuration_data() 4conf_data.set('BMCWEB_HTTP_REQ_BODY_LIMIT_MB', get_option('http-body-limit')) 5xss_enabled = get_option('insecure-disable-xss') 6conf_data.set10('BMCWEB_INSECURE_DISABLE_XSS_PREVENTION', xss_enabled.enabled()) 7enable_redfish_query = get_option('insecure-enable-redfish-query') 8conf_data.set10('BMCWEB_INSECURE_ENABLE_QUERY_PARAMS', enable_redfish_query.enabled()) 9# enable_redfish_aggregation = get_option('redfish-aggregation') 10# conf_data.set10('BMCWEB_ENABLE_REDFISH_AGGREGATION', enable_redfish_aggregation.enabled()) 11insecure_push_style_notification = get_option('insecure-push-style-notification') 12conf_data.set10('BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING', insecure_push_style_notification.enabled()) 13conf_data.set('MESON_INSTALL_PREFIX', get_option('prefix')) 14conf_data.set('HTTPS_PORT', get_option('https_port')) 15enable_health_populate = get_option('redfish-health-populate') 16conf_data.set10('BMCWEB_ENABLE_HEALTH_POPULATE', enable_health_populate.enabled()) 17enable_proc_mem_status = get_option('redfish-enable-proccessor-memory-status') 18conf_data.set10('BMCWEB_ENABLE_PROC_MEM_STATUS', enable_proc_mem_status.enabled()) | 1# Gather the Configuration data 2 3conf_data = configuration_data() 4conf_data.set('BMCWEB_HTTP_REQ_BODY_LIMIT_MB', get_option('http-body-limit')) 5xss_enabled = get_option('insecure-disable-xss') 6conf_data.set10('BMCWEB_INSECURE_DISABLE_XSS_PREVENTION', xss_enabled.enabled()) 7enable_redfish_query = get_option('insecure-enable-redfish-query') 8conf_data.set10('BMCWEB_INSECURE_ENABLE_QUERY_PARAMS', enable_redfish_query.enabled()) 9# enable_redfish_aggregation = get_option('redfish-aggregation') 10# conf_data.set10('BMCWEB_ENABLE_REDFISH_AGGREGATION', enable_redfish_aggregation.enabled()) 11insecure_push_style_notification = get_option('insecure-push-style-notification') 12conf_data.set10('BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING', insecure_push_style_notification.enabled()) 13conf_data.set('MESON_INSTALL_PREFIX', get_option('prefix')) 14conf_data.set('HTTPS_PORT', get_option('https_port')) 15enable_health_populate = get_option('redfish-health-populate') 16conf_data.set10('BMCWEB_ENABLE_HEALTH_POPULATE', enable_health_populate.enabled()) 17enable_proc_mem_status = get_option('redfish-enable-proccessor-memory-status') 18conf_data.set10('BMCWEB_ENABLE_PROC_MEM_STATUS', enable_proc_mem_status.enabled()) |
19enable_multi_host = get_option('experimental-redfish-multi-computer-system') 20conf_data.set10('BMCWEB_ENABLE_MULTI_HOST', enable_multi_host.enabled()) |
|
19 20# Logging level 21loglvlopt = get_option('bmcweb-logging') 22if get_option('buildtype').startswith('debug') and loglvlopt == 'disabled' 23 # Override logging level as 'debug' if 'bmcweb-logging' is set as 'dsiabled' 24 loglvlopt = 'debug' 25endif 26conf_data.set('BMCWEB_LOGGING_LEVEL', loglvlopt) --- 31 unchanged lines hidden --- | 21 22# Logging level 23loglvlopt = get_option('bmcweb-logging') 24if get_option('buildtype').startswith('debug') and loglvlopt == 'disabled' 25 # Override logging level as 'debug' if 'bmcweb-logging' is set as 'dsiabled' 26 loglvlopt = 'debug' 27endif 28conf_data.set('BMCWEB_LOGGING_LEVEL', loglvlopt) --- 31 unchanged lines hidden --- |