X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=resource%2Fcsdk%2Fconnectivity%2Fbuild%2Fandroid%2FSConscript;h=90551ce0ba2270b2e84083f0fb1c23c9ccbb1492;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2F20230214.171546;hp=654e6f355242a87f30b2bcce5eca8d874dfce406;hpb=a5b4fe80c18329aa044fc1678d44ba76a45aea5b;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/connectivity/build/android/SConscript b/resource/csdk/connectivity/build/android/SConscript index 654e6f3..90551ce 100644 --- a/resource/csdk/connectivity/build/android/SConscript +++ b/resource/csdk/connectivity/build/android/SConscript @@ -14,13 +14,13 @@ Help(help_vars.GenerateHelpText(env)) android_ndk = env.get('ANDROID_NDK') if not android_ndk: - print ''' + print(''' *************************************** Error ********************************* * Android NDK path isn't set, you can set enviornment variable ANDROID_NDK * * or add it in command line as: * * # scons ANDROID_NDK= ... * ******************************************************************************* -''' +''') Exit(1) # Overwrite suffixes and prefixes @@ -58,12 +58,12 @@ if env['HOST_OS'] == 'win32': ndk_build_cmd += '.cmd' if not os.path.isfile(ndk_build_cmd): - print ''' + print(''' *************************************** Error ********************************* * It seems android ndk path is not set properly, please check if "%s" * is the root directory of android ndk. * ******************************************************************************* -''' % android_ndk +''' % android_ndk) Exit(1) ANDROID_HOME = os.environ.get('ANDROID_HOME') @@ -71,12 +71,12 @@ if ANDROID_HOME is not None: ANDROID_HOME = os.path.abspath(ANDROID_HOME) if ANDROID_HOME is None or not os.path.exists(ANDROID_HOME): - print ''' + print(''' *************************************** Warning ******************************* * Enviornment variable ANDROID_HOME is not set properly. It should be the * * root directory of android sdk. If you'd like build Java code, it's required.* ******************************************************************************* -''' +''') target_arch = env.get('TARGET_ARCH') @@ -96,12 +96,12 @@ else: if tc_ver != '': cmd.append('NDK_TOOLCHAIN_VERSION=' + tc_ver) else: - print ''' + print(''' *************************************** Warning ******************************* * To support C++11, the toolchain should be >= 4.7, please make sure your * * android NDK is at least r8e! * ******************************************************************************* -''' +''') cmd.append('-n')