build: Clean build folders when using scons -c
authorGeorge Nash <george.nash@intel.com>
Wed, 1 Feb 2017 20:50:35 +0000 (12:50 -0800)
committerRick Bell <richard.s.bell@intel.com>
Mon, 6 Feb 2017 18:31:31 +0000 (18:31 +0000)
commit2f38487d4680199069c0b35156b88b32d270383f
treed16538301c5b5cbbeb79416a0aa3f9524ca38695
parentbd3607018235bcd205b53a7c1177a700aab1c3aa
build: Clean build folders when using scons -c

Since Android and Java code is built using gradle
the build output is not properly tracked by scons.
Scons' Clean method is used to add the build
output to the clean build.

This commit is limited to the `build` folders
generated when building TARGET_OS=android or
BUILD_JAVA=1.

Change-Id: I69965272e377494bd99731fbacb2cc6e06ff7815
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16977
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
SConstruct
java/SConscript
service/easy-setup/mediator/richsdk/android/SConscript
service/easy-setup/sampleapp/mediator/android/SConscript
service/notification/android/SConscript
service/notification/examples/android/NotiConsumerExample/SConscript
service/notification/examples/android/NotiProviderExample/SConscript
service/resource-container/android/SConscript