fix build scons related MQ for android. 91/15891/2
authorjihwan.seo <jihwan.seo@samsung.com>
Thu, 22 Dec 2016 08:07:01 +0000 (17:07 +0900)
committerRick Bell <richard.s.bell@intel.com>
Fri, 6 Jan 2017 23:35:36 +0000 (23:35 +0000)
Change-Id: I185762dc484f82e574184bb7b99df8369ab78120
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15891
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
java/jni/SConscript

index ec263bf..9b8c61b 100644 (file)
@@ -130,7 +130,7 @@ ocstack_files = [
                        'JniOnDeleteResourceListener.cpp',
                        'JniOcRDClient.cpp',
                ]
-if ['SUB', 'PUB', 'BROKER'] in with_mq:
+if ('PUB' in with_mq) or ('SUB' in with_mq) or ('BROKER' in with_mq):
        ocstack_files += [
                                'JniOnMQTopicFoundListener.cpp',
                                'JniOnMQSubscribeListener.cpp'