SConscript android cleanups
authorMats Wichmann <mats@linux.com>
Thu, 29 Jun 2017 17:36:49 +0000 (11:36 -0600)
committerPhil Coval <philippe.coval@osg.samsung.com>
Fri, 30 Jun 2017 14:37:21 +0000 (14:37 +0000)
commit112a21c55345a6dc8ee2977106790085cbdf15e8
tree221f6c145d2322ea50ba1078a50ec0a0b13f6586
parent4312f9395155a7191f3d13d5e828c32fd1325637
SConscript android cleanups

Rewrite if cmp()...elif cmp() sequence to not use slicing
  no more "magic numbers" referring to substring lengths
Update some comments
Update resource/csdk/connectivity/build/android/SConscript to
  be closer to build_common/android one
Pass error message to Exit instead of doing Exit(1) - this
  sends the error msg to stderr instead of stdout (convention)

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I094cd6ecc6fecd1055f8742dd33f45d4134c2876
Signed-off-by: Mats Wichmann <mats@linux.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21153
Tested-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
build_common/android/SConscript
resource/csdk/connectivity/build/android/SConscript