Skip to content

Commit

Permalink
fixed build xlog fail when APP_STL:=stlport_static
Browse files Browse the repository at this point in the history
  • Loading branch information
garryyan committed Dec 8, 2017
1 parent 66d6693 commit 1db39d5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mars/libraries/build_android.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ def build_android_xlog_static_libs(_path="mars_xlog_sdk", _arch="armeabi", _lib_
for i in range(len(BUILD_XLOG_PATHS)-1, -1, -1):
if not os.path.exists("../" + BUILD_XLOG_PATHS[i] + "/jni"):
continue

files = os.listdir("../" + BUILD_XLOG_PATHS[i] + "/libs")


files = []
if os.path.exists("../" + BUILD_XLOG_PATHS[i] + "/libs"):
files = os.listdir("../" + BUILD_XLOG_PATHS[i] + "/libs")
elif os.path.exists("../" + BUILD_XLOG_PATHS[i] + "/obj/local/"):
files = os.listdir("../" + BUILD_XLOG_PATHS[i] + "/obj/local/")

for f in files:
if os.path.isfile(f):
continue
Expand Down

0 comments on commit 1db39d5

Please sign in to comment.