@@ -58,6 +58,8 @@ def options(opt):
5858 help = 'disable compilation abort on warning' )
5959 grp .add_option ('--enable-voicemgr' , action = 'store_true' , dest = 'USE_VOICEMGR' , default = False ,
6060 help = 'Enable VOICE MANAGER' )
61+ grp .add_option ('--enable-android-apk' , action = 'store_true' , dest = 'ANDROID_APK' , default = False ,
62+ help = 'Enable Android APK styled libraries deploy' )
6163
6264 # a1ba: hidden option for CI
6365 grp .add_option ('--enable-msvcdeps' , action = 'store_true' , dest = 'MSVCDEPS' , default = False , help = '' )
@@ -274,13 +276,9 @@ def configure(conf):
274276 if conf .env .HLDEMO_BUILD and conf .env .OEM_BUILD :
275277 conf .fatal ('Don\' t mix Demo and OEM builds!' )
276278
277- # force to use server library name
278- if conf .env .DEST_OS == 'android' and not conf .env .TERMUX :
279- conf .env .SERVER_LIBRARY_NAME = 'server' # can't be any other name, until specified
280- else :
281- # strip lib from pattern
282- if conf .env .cxxshlib_PATTERN .startswith ('lib' ):
283- conf .env .cxxshlib_PATTERN = conf .env .cxxshlib_PATTERN [3 :]
279+ # strip lib from pattern
280+ if conf .env .cxxshlib_PATTERN .startswith ('lib' ):
281+ conf .env .cxxshlib_PATTERN = conf .env .cxxshlib_PATTERN [3 :]
284282
285283 conf .load ('library_naming' )
286284 conf .add_subproject ('game_shared dlls cl_dll' )
0 commit comments