LEFT | RIGHT |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 import glob | 3 import glob |
4 import json | 4 import json |
5 import os | 5 import os |
6 import re | 6 import re |
7 import shutil | 7 import shutil |
8 import string | 8 import string |
9 import subprocess | 9 import subprocess |
10 import sys | 10 import sys |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 print >>sys.stderr, "Invalid architecture, check config.py" | 139 print >>sys.stderr, "Invalid architecture, check config.py" |
140 sys.exit(6) | 140 sys.exit(6) |
141 | 141 |
142 if do_build: | 142 if do_build: |
143 apk_path = build(architecture, distribution_mode, build_mode, | 143 apk_path = build(architecture, distribution_mode, build_mode, |
144 config.ANDROID_SDK_PATH, config.ANDROID_NDK_PATH) | 144 config.ANDROID_SDK_PATH, config.ANDROID_NDK_PATH) |
145 if do_sign: | 145 if do_sign: |
146 sign(apk_path, config.ANDROID_KEYSTORE_PATH, config.ANDROID_KEY_NAME) | 146 sign(apk_path, config.ANDROID_KEYSTORE_PATH, config.ANDROID_KEY_NAME) |
147 else: | 147 else: |
148 print apk_path | 148 print apk_path |
LEFT | RIGHT |