This commit is contained in:
renaud gaudin 2013-04-04 15:07:53 +02:00
parent be2f4dbb79
commit 8cdb55f033

View File

@ -26,11 +26,16 @@ ORIGINAL_ENVIRON = copy.deepcopy(os.environ)
# the directory of this file for relative referencing
CURRENT_PATH = os.path.dirname(os.path.abspath(__file__))
# target platform to compile for
# list of available toolchains in <NDK_PATH>/toolchains
# arm-linux-androideabi, mipsel-linux-android, x86, llvm
ARCHS = ('arm-linux-androideabi', 'mipsel-linux-android', 'x86')
# different names of folder path for accessing files
ARCHS_FULL_NAMES = {
'arm-linux-androideabi': 'arm-linux-androideabi',
'mipsel-linux-android': 'mipsel-linux-android',
'x86': 'i686-linux-android'}
ARCHS_SHORT_NAMES = {
'arm-linux-androideabi': 'armeabi',
'mipsel-linux-android': 'mips',
@ -39,11 +44,6 @@ ARCHS_SHORT_NAMES = {
# store host machine name
UNAME = check_output(['uname', '-s']).strip()
# target platform to compile for
# list of available toolchains in <NDK_PATH>/toolchains
# arm-linux-androideabi, mipsel-linux-android, x86, llvm
ARCHS = ('arm-linux-androideabi', 'mipsel-linux-android', 'x86')
# compiler version to use
# list of available toolchains in <NDK_PATH>/toolchains
# 4.4.3, 4.6, 4.7, clang3.1, clang3.2
@ -106,7 +106,7 @@ def fail_on_missing(path):
sys.exit(1)
def syscall(args, shell=False, with_print=True):
''' make a system call via bash '''
''' make a system call '''
args = args.split()
if with_print:
print(u"-----------\n" + u" ".join(args) + u"\n-----------")