File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
pythonforandroid/bootstraps/sdl2/build Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 5050if PYTHON is not None :
5151 BLACKLIST_PATTERNS .append ('*.py' )
5252
53- WHITELIST_PATTERNS = []
53+ WHITELIST_PATTERNS = ['pyconfig.h' , ]
5454
5555python_files = []
5656
@@ -520,9 +520,6 @@ def parse_args(args=None):
520520 PYTHON = None
521521 BLACKLIST_PATTERNS .remove ('*.py' )
522522
523- if args .launcher :
524- WHITELIST_PATTERNS += ['pyconfig.h' ]
525-
526523 if args .blacklist :
527524 with open (args .blacklist ) as fd :
528525 patterns = [x .strip () for x in fd .read ().splitlines ()
Original file line number Diff line number Diff line change 22<project name =" CustomRules" >
33 <target name =" -pre-build" >
44 <copy todir =" tmp-src" >
5+ {% if args.launcher %}
56 <fileset dir =" src" includes =" **" />
7+ {% else %}
8+ <fileset dir =" src" >
9+ <exclude name =" org/kivy/android/Project*.java" />
10+ </fileset >
11+ {% endif %}
612 {% for dir, includes in args.extra_source_dirs %}
713 <fileset dir =" {{ dir }}" includes =" {{ includes }}" />
814 {% endfor %}
You can’t perform that action at this time.
0 commit comments