improve build scripts

This commit is contained in:
lixianjing 2023-10-11 16:30:49 +08:00
parent 64250eb2f6
commit 21e354f18b
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
2023/10/11
* 修复字体管理器没有正常释放的问(感谢培煌提供补丁)
* 修改WITH_JERRYSCRIPT的值默认为false(感谢智明提供补丁)
2023/10/10
* 修复window\_base\_set\_applet\_name可能导致野指针的问题(感谢培煌发现问题)

View File

@ -19,7 +19,7 @@ COMPILE_CONFIG = {
'LINUX_FB' : { 'value' : False, 'desc' : ['use linux\'s building'], 'help_info' : 'use linux\'s compile tools prefix building, value is true or false'},
'MVVM_ROOT' : { 'value' : '', 'desc' : ['awtk\'s mvvm root'], 'help_info' : 'set link awtk\'s mvvm root, MVVM_ROOT=XXXXX'},
'WITH_MVVM' : { 'value' : False, 'desc' : ['use mvvm'], 'help_info' : 'use mvvm\'s lib, value is true or false'},
'WITH_JERRYSCRIPT' : { 'value' : True, 'desc' : ['use mvvm\'s js'], 'help_info' : 'use mvvm js\'s lib, value is true or false'},
'WITH_JERRYSCRIPT' : { 'value' : False, 'desc' : ['use mvvm\'s js'], 'help_info' : 'use mvvm js\'s lib, value is true or false'},
'WITH_IOTJS' : { 'value' : False, 'desc' : ['use mvvm\'s iotjs'], 'help_info' : 'use mvvm iotjs\'s lib, value is true or false'},
'AWFLOW_ROOT' : { 'value' : '', 'desc' : ['awtk\'s awflow root'], 'help_info' : 'set link awtk\'s awflow root, AWFLOW_ROOT=XXXXX'},
'WITH_AWFLOW' : { 'value' : False, 'desc' : ['use awflow'], 'help_info' : 'use awflow\'s lib, value is true or false'},
@ -309,7 +309,7 @@ class AppHelperBase:
if self.LINUX_FB:
os.environ['LINUX_FB'] = 'true'
self.WITH_JERRYSCRIPT = self.complie_helper.get_value('WITH_JERRYSCRIPT', True)
self.WITH_JERRYSCRIPT = self.complie_helper.get_value('WITH_JERRYSCRIPT', False)
self.WITH_IOTJS = self.complie_helper.get_value('WITH_IOTJS', False)
WITH_MVVM = self.complie_helper.get_value('WITH_MVVM', False)