mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
android: wscript: make Java code compatible with old Android devices
This commit is contained in:
+3
-1
@@ -14,7 +14,7 @@ def configure(conf):
|
||||
return
|
||||
|
||||
def build(bld):
|
||||
bld(features = 'android javac',
|
||||
tsk = bld(features = 'android javac',
|
||||
srcdir = 'src',
|
||||
compat = '1.6',
|
||||
name = 'xashdroid',
|
||||
@@ -22,4 +22,6 @@ def build(bld):
|
||||
keystore = bld.path.parent.find_node('debug.keystore'),
|
||||
debug = bld.env.D8_DEBUG,
|
||||
target_api = 28)
|
||||
|
||||
tsk.env.append_unique('JAVACFLAGS', ['-target', '1.6'])
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user