mirror of https://github.com/axmolengine/axmol.git
[Jenkins][ci skip] Remove unavailable parameter in android building
This commit is contained in:
parent
209c1d884a
commit
4328072f7b
|
@ -190,7 +190,7 @@ def main():
|
||||||
data = re.sub('<uses-feature android:glEsVersion="0x00020000" />', '<uses-feature android:glEsVersion="0x00020000" /> <uses-permission android:name="android.permission.INTERNET"/>', data)
|
data = re.sub('<uses-feature android:glEsVersion="0x00020000" />', '<uses-feature android:glEsVersion="0x00020000" /> <uses-permission android:name="android.permission.INTERNET"/>', data)
|
||||||
codecs.open(modify_file, 'wb', encoding='UTF-8').write(data)
|
codecs.open(modify_file, 'wb', encoding='UTF-8').write(data)
|
||||||
print "Start build android..."
|
print "Start build android..."
|
||||||
ret = os.system("python build/android-build.py -n -j10 -p 10 all")
|
ret = os.system("python build/android-build.py -p 10 all")
|
||||||
# create and save apk
|
# create and save apk
|
||||||
if(ret == 0):
|
if(ret == 0):
|
||||||
sample_dir = 'tests/cpp-tests/proj.android/'
|
sample_dir = 'tests/cpp-tests/proj.android/'
|
||||||
|
|
Loading…
Reference in New Issue