From: Joseph Morrow Date: Tue, 2 Jun 2015 15:37:32 +0000 (-0400) Subject: Refactored android default ArchType check in SConscript. X-Git-Tag: 1.2.0+RC1~1639 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3d577ebfa6dc3c8ce26413c82d9712646568c99;p=platform%2Fupstream%2Fiotivity.git Refactored android default ArchType check in SConscript. According to SCons' wiki, checking strings should be done with "==" and not "is". "is" is to be used for checking against the ID value for a value and not the value, while "==" checks against the value. Change-Id: I28710e324d998098cd22bb615a03c388f6903f18 Signed-off-by: Joseph Morrow Reviewed-on: https://gerrit.iotivity.org/gerrit/1170 Tested-by: jenkins-iotivity Reviewed-by: Erich Keane --- diff --git a/build_common/SConscript b/build_common/SConscript index 2120653..c26e92d 100644 --- a/build_common/SConscript +++ b/build_common/SConscript @@ -40,7 +40,7 @@ if target_os not in host_target_map[host]: print "\nError: Unknown target os: %s (Allow values: %s)\n" % (target_os, host_target_map[host]) Exit(1) -if target_os is 'android': +if target_os == 'android': default_arch = 'x86' else: default_arch = platform.machine()