Some fixes for android-build.py.

This commit is contained in:
James Chen 2014-03-14 12:52:24 +08:00
parent a7fea5bdb7
commit b893ca3378
1 changed files with 48 additions and 47 deletions

View File

@ -224,7 +224,7 @@ if __name__ == '__main__':
usage = """
This script is mainy used for building tests built-in with cocos2d-x.
Usage: %prog [options] [cpp-empty-test|cpp-tests|lua-empty-test|lua-tests]
Usage: %prog [options] [cpp-empty-test|cpp-tests|lua-empty-test|lua-tests|cpp|lua|all]
If you are new to cocos2d-x, I recommend you start with cpp-empty-test, lua-empty-test.
@ -247,6 +247,7 @@ if __name__ == '__main__':
if len(args) == 0:
parser.print_help()
sys.exit(1)
else:
try:
build_samples(args, opts.ndk_build_param,opts.android_platform,opts.build_mode)