android: wscript: make Java code compatible with old Android devices
This commit is contained in:
parent
dc13474729
commit
b69649c50e
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,7 @@ def configure(conf):
|
||||||
return
|
return
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld(features = 'android javac',
|
tsk = bld(features = 'android javac',
|
||||||
srcdir = 'src',
|
srcdir = 'src',
|
||||||
compat = '1.6',
|
compat = '1.6',
|
||||||
name = 'xashdroid',
|
name = 'xashdroid',
|
||||||
|
@ -22,4 +22,6 @@ def build(bld):
|
||||||
keystore = bld.path.parent.find_node('debug.keystore'),
|
keystore = bld.path.parent.find_node('debug.keystore'),
|
||||||
debug = bld.env.D8_DEBUG,
|
debug = bld.env.D8_DEBUG,
|
||||||
target_api = 28)
|
target_api = 28)
|
||||||
|
|
||||||
|
tsk.env.append_unique('JAVACFLAGS', ['-target', '1.6'])
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue