Removed unused code in android detect.py and SCsub
This commit is contained in:
parent
ae28c0fdb8
commit
90cdacd741
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from detect import get_ndk_version
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
Import('env')
|
||||
|
||||
android_files = [
|
||||
|
|
|
@ -164,7 +164,6 @@ def configure(env):
|
|||
env.Tool('gcc')
|
||||
env.use_windows_spawn_fix()
|
||||
|
||||
mt_link = True
|
||||
if (sys.platform.startswith("linux")):
|
||||
host_subpath = "linux-x86_64"
|
||||
elif (sys.platform.startswith("darwin")):
|
||||
|
@ -173,12 +172,8 @@ def configure(env):
|
|||
if (platform.machine().endswith('64')):
|
||||
host_subpath = "windows-x86_64"
|
||||
else:
|
||||
mt_link = False
|
||||
host_subpath = "windows"
|
||||
|
||||
if env["android_arch"] == "arm64v8":
|
||||
mt_link = False
|
||||
|
||||
compiler_path = env["ANDROID_NDK_ROOT"] + "/toolchains/llvm/prebuilt/" + host_subpath + "/bin"
|
||||
gcc_toolchain_path = env["ANDROID_NDK_ROOT"] + "/toolchains/" + target_subpath + "/prebuilt/" + host_subpath
|
||||
tools_path = gcc_toolchain_path + "/" + abi_subpath + "/bin"
|
||||
|
|
Loading…
Reference in New Issue