Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / extlibs / android / gradle / SConscript
index 9cece4b..de33da2 100644 (file)
@@ -8,7 +8,7 @@ SConscript('../../../build_common/external_libs.scons')
 
 target_os = env.get('TARGET_OS')
 host_os = sys.platform
-print host_os
+print(host_os)
 SConscript('../../../build_common/external_libs.scons')
 ######################################################################
 # Build flags
@@ -21,9 +21,9 @@ path = os.path.join(src_dir, 'extlibs', 'android', 'gradle', 'gradle-2.2.1')
 if not os.path.exists(path):
        gradle_zip = env.Download('gradle2.2.1.zip', 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip')
        gradle_dir = env.UnpackAll('gradle-2.2.1', gradle_zip)
-       print '''
+       print('''
 ***********************************************************************
 * Downloading gradle:                    *
 *******************************************************************************
-'''
+''')