Skip to content

Commit 2680591

Browse files
committed
Added pymodules placeholder
1 parent ae64229 commit 2680591

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

toolchain.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,10 +1313,13 @@ def build_recipes(names, ctx):
13131313
recipe.postbuild()
13141314

13151315
return
1316-
for recipe in recipes:
1317-
recipe.init_with_ctx(ctx)
1318-
for recipe in recipes:
1319-
recipe.execute()
1316+
1317+
def run_pymodules_install(modules):
1318+
print('Pymodules can\'t currently be installed. Skipping.')
1319+
if len(modules):
1320+
print('Asked to build some python modules. Refusing!')
1321+
exit(1)
1322+
13201323

13211324
def biglink(ctx):
13221325
# AND: Shouldn't hardcode ArchAndroid! In reality need separate
@@ -1467,6 +1470,8 @@ def create_android_project(self):
14671470

14681471
build_recipes(recipes, ctx)
14691472

1473+
run_pymodules_install([])
1474+
14701475
print('Done building recipes, exiting for now.')
14711476
return
14721477

0 commit comments

Comments
 (0)