build: Reformat build_common SConscripts
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 21 Jun 2017 17:25:46 +0000 (19:25 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 28 Jun 2017 00:46:54 +0000 (00:46 +0000)
commit23d6ea62665c5884ad476df9ecfa43c25edf097e
tree48d5cc5113749e0f420bfcc10ebee33c1cd49a7b
parentd73a6e89c5ba0936c39fc7dc2c6a7dbd7242f22e
build: Reformat build_common SConscripts

[Mats Wichmann]

build: Reformat all of the build_common SConscripts to be more Pythonic

There are not intended to be any functional changes.
The help variable definitions are split into multi-line,
in anticipation of later improving the descriptions and using
keyword-argument style to make the purpose of other args more clear.

Also included two files at the top level in this set,
as they seem to have the same intent as build_common.

In build_common/android/SConscript, an identical 4-line stanza, beginning:
  elif cmp(flags[0:9], 'PLATFORM=') == 0:  # get target platform: android-x
appears three times, the second and third were dropped in this change.

[Philippe Coval]

Port from master to 1.3-rel to help mergeback

Conflicts:
build_common/SConscript
build_common/android/SConscript
build_common/external_builders.scons
build_common/linux/SConscript

Change-Id: I0077e7350754fef25e75621fdb4a41cfcf28ef2a
Signed-off-by: Mats Wichmann <mats@linux.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20545
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Origin: master
Bug: https://jira.iotivity.org/browse/IOT-1745
Signed-off-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20923
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
12 files changed:
arduino.scons
build_common/android/compatibility/c_compat.scons
build_common/android/compatibility/cpp11_compat.scons
build_common/arduino/SConscript
build_common/darwin/SConscript
build_common/external_builders.scons
build_common/external_libs.scons
build_common/linux/SConscript
build_common/msys_nt/SConscript
build_common/tizen/SConscript
build_common/windows/SConscript
extra_options.scons