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 50
50
if PYTHON is not None :
51
51
BLACKLIST_PATTERNS .append ('*.py' )
52
52
53
- WHITELIST_PATTERNS = []
53
+ WHITELIST_PATTERNS = ['pyconfig.h' , ]
54
54
55
55
python_files = []
56
56
@@ -520,9 +520,6 @@ def parse_args(args=None):
520
520
PYTHON = None
521
521
BLACKLIST_PATTERNS .remove ('*.py' )
522
522
523
- if args .launcher :
524
- WHITELIST_PATTERNS += ['pyconfig.h' ]
525
-
526
523
if args .blacklist :
527
524
with open (args .blacklist ) as fd :
528
525
patterns = [x .strip () for x in fd .read ().splitlines ()
Original file line number Diff line number Diff line change 2
2
<project name =" CustomRules" >
3
3
<target name =" -pre-build" >
4
4
<copy todir =" tmp-src" >
5
+ {% if args.launcher %}
5
6
<fileset dir =" src" includes =" **" />
7
+ {% else %}
8
+ <fileset dir =" src" >
9
+ <exclude name =" org/kivy/android/Project*.java" />
10
+ </fileset >
11
+ {% endif %}
6
12
{% for dir, includes in args.extra_source_dirs %}
7
13
<fileset dir =" {{ dir }}" includes =" {{ includes }}" />
8
14
{% endfor %}
You can’t perform that action at this time.
0 commit comments