Merge pull request #6503 from shujunqiao/cocos-console-apk

[ci skip], modify android apk name in cocos-console-test.py.
This commit is contained in:
James Chen 2014-04-28 17:17:23 +08:00
commit e3d195184c
1 changed files with 4 additions and 0 deletions

View File

@ -310,6 +310,10 @@ APP_FILE_SUFFIX = {
'ios':'.app', 'ios':'.app',
'android':'-debug-unaligned.apk' 'android':'-debug-unaligned.apk'
} }
if os.environ.has_key('APP_FILE_SUFFIX'):
str_app_suffix = os.environ['APP_FILE_SUFFIX']
APP_FILE_SUFFIX = eval(str_app_suffix)
def getPackageSize(): def getPackageSize():
for proj in project_types: for proj in project_types:
for phone in phonePlats: for phone in phonePlats: