Revert "[CONPRO-1337] Disabled Presence Feature"
[platform/upstream/iotivity.git] / build_common / SConscript
index 4a9a350..3d2404c 100644 (file)
@@ -101,7 +101,6 @@ help_vars.Add(BoolVariable('WITH_PROXY', 'Build with CoAP-HTTP Proxy', False))
 help_vars.Add(ListVariable('WITH_MQ', 'Build with MQ publisher/broker', 'OFF', ['OFF', 'SUB', 'PUB', 'BROKER']))
 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('SIMULATOR', 'Build with simulator module', False))
 
@@ -359,9 +358,6 @@ if env.get('WITH_TCP'):
 if env.get('DISABLE_TCP_SERVER'):
        defines.append('-DDISABLE_TCP_SERVER=1')
 
-if env.get('DISABLE_PRESENCE') == False:
-    env.AppendUnique(CPPDEFINES = ['WITH_PRESENCE'])
-
 libs = []
 if env.get('SECURED') == '1':
     defines.append('-D__WITH_DTLS__=1')