X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build_common%2FSConscript;h=6dc7f19a68d7c690439f10bb0255aa0378b5e258;hb=4c0519a46adbe47ef237de579f405b3be6b769a4;hp=577cbff93eb902cec2e0e3856a83a03fcc7efa65;hpb=e2b3a3137f295083c45c09fdea3cfb4672b6f5b9;p=platform%2Fupstream%2Fiotivity.git diff --git a/build_common/SConscript b/build_common/SConscript index 577cbff..6dc7f19 100755 --- a/build_common/SConscript +++ b/build_common/SConscript @@ -133,7 +133,8 @@ help_vars.Add(EnumVariable('WITH_UPSTREAM_LIBCOAP', 'Use latest stable version o help_vars.Add(EnumVariable('BLE_CUSTOM_ADV', 'Build with CUSTOM Advertisement', 'False', allowed_values=('True', 'False'))) help_vars.Add(EnumVariable('BLE_DIVISION', 'BLE Build with division code', 'OFF', allowed_values=('OFF', 'MCD', 'VD'))) help_vars.Add(EnumVariable('BLE_TIZEN_30', 'Build with tizen 3.0 BLE api', 'False', allowed_values=('True', 'False'))) -help_vars.Add(EnumVariable('TIZEN_4', 'Build with tizen 4.0 api', 'False', allowed_values=('True', 'False'))) +help_vars.Add(EnumVariable('BLE_TIZEN_40', 'Build with tizen 4.0 BLE api', 'False', allowed_values=('True', 'False'))) +help_vars.Add(EnumVariable('BLE_TIZEN_55', 'Build with tizen 5.5 BLE api', 'False', allowed_values=('True', 'False'))) help_vars.Add(PathVariable('TIZENRT_OS_DIR', 'Absolute Path to TizenRT OS directory', None, PathVariable.PathAccept)) help_vars.Add(EnumVariable('PLATFORM_TLS', 'Use platform tls instead of local mbedtls', '0', allowed_values=('0', '1'))) help_vars.Add(EnumVariable('OIC_SUPPORT_TIZEN_TRACE', 'Tizen Trace(T-trace) api availability', 'False', allowed_values=('True', 'False'))) @@ -169,6 +170,17 @@ else: PREFIX = GetOption('prefix'), LIB_INSTALL_DIR = ARGUMENTS.get('LIB_INSTALL_DIR') #for 64bit build ) + +targets_support_gcov = ['linux', 'darwin'] +if target_os in targets_support_gcov: + # Build option to enable coverage checking using gcov. + # Requires gcc or clang family compilers. + # Actual compiler flags need to be set in target-specific script. + help_vars.Add( + BoolVariable('COVERAGE_CHECKS', + 'Build support for running code coverage checks', + default=False)) + Help(help_vars.GenerateHelpText(env)) tc_set_msg = '''