SConscript 671 Bytes
Newer Older
Tim Kourt's avatar
Tim Kourt committed
1
##
2
# CA build script
Tim Kourt's avatar
Tim Kourt committed
3 4
##

5
SConscript('./resource/csdk/connectivity/build/SConscript')
Tim Kourt's avatar
Tim Kourt committed
6

7
Import('env')
Tim Kourt's avatar
Tim Kourt committed
8

9 10 11 12 13 14
target_os = env.get('TARGET_OS')
transport = env.get('TARGET_TRANSPORT')
buildsample = env.get('BUILD_SAMPLE')
release_mode = env.get('RELEASE')
secured = env.get('SECURED')
logging = env.get('LOGGING')
Tim Kourt's avatar
Tim Kourt committed
15

16 17
print "Given Transport is %s" % transport
print "Given OS is %s" % target_os
Tim Kourt's avatar
Tim Kourt committed
18

19 20 21 22 23
if target_os == 'tizen':
	command = "sh resource/csdk/connectivity/build/tizen/gbsbuild.sh %s %s %s %s %s" % (transport, secured, buildsample, release_mode, logging)
	print "Created Command is %s" % command
	gbs_script = env.Command('gbs_build', None, command)
	AlwaysBuild ('gbs_script')