X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build_common%2FSConscript;h=8612220baeff2c8385b3576fd177e7e4c296ecdf;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20190206.231730;hp=4a9a350244a8f763d839e2cc9d2cd64a2b509e82;hpb=9256430826da7959dfa5381484a4207014c8b47f;p=platform%2Fupstream%2Fiotivity.git diff --git a/build_common/SConscript b/build_common/SConscript index 4a9a350..8612220 100644 --- a/build_common/SConscript +++ b/build_common/SConscript @@ -102,6 +102,7 @@ help_vars.Add(ListVariable('WITH_MQ', 'Build with MQ publisher/broker', 'OFF', [ help_vars.Add(BoolVariable('WITH_CLOUD', 'Build including AccountManager class and Cloud Client sample', False)) help_vars.Add(ListVariable('RD_MODE', 'Resource Directory build mode', 'CLIENT', ['CLIENT', 'SERVER'])) help_vars.Add(BoolVariable('DISABLE_PRESENCE', 'Disable Presence Feature', False)) +help_vars.Add(BoolVariable('DISABLE_BLE_SERVER', 'Disable BLE server', False)) help_vars.Add(BoolVariable('SIMULATOR', 'Build with simulator module', False)) @@ -362,6 +363,9 @@ if env.get('DISABLE_TCP_SERVER'): if env.get('DISABLE_PRESENCE') == False: env.AppendUnique(CPPDEFINES = ['WITH_PRESENCE']) +if env.get('DISABLE_BLE_SERVER'): + defines.append('-DDISABLE_BLE_SERVER=1') + libs = [] if env.get('SECURED') == '1': defines.append('-D__WITH_DTLS__=1')