Skip to content

Commit f224505

Browse files
committed
bootstrap: create common directory and move tool to build apk in it. start to separate the java part.
1 parent be95db2 commit f224505

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+23
-9
lines changed
File renamed without changes.

bootstrap/legacy/build.py renamed to bootstrap/common/build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def render(template, dest, **kwargs):
6868
template = environment.get_template(template)
6969
text = template.render(**kwargs)
7070

71+
dir_dest = dirname(dest)
72+
if dir_dest and not os.path.exists(dir_dest):
73+
os.makedirs(dir_dest)
74+
7175
f = file(dest, 'wb')
7276
f.write(text.encode('utf-8'))
7377
f.close()
@@ -267,7 +271,7 @@ def make_package(args):
267271
sys.exit(-1)
268272

269273
# Get target android API
270-
android_api = int(os.environ.get('ANDROIDAPI', '8'))
274+
android_api = int(os.environ.get('ANDROIDAPI', '14'))
271275

272276
# Render the various templates into control files.
273277
render(

0 commit comments

Comments
 (0)