AliOS-Things icon indicating copy to clipboard operation
AliOS-Things copied to clipboard

3.3版本的JSEngine还有吗?

Open RdSean opened this issue 5 years ago • 1 comments

我看源代码里似乎已经消失了?

RdSean avatar May 26 '21 04:05 RdSean

有的,JS Engine兼容 quickjs 和 duktape,选择其中一个进行编译。 具体的是在文件 components/amp/package.yaml 中通过宏定义进行选择

def_config:
 # CONFIG_ENGINE_DUKTAPE: 1
    CONFIG_ENGINE_QUICKJS: 1

yulonghua avatar Jun 09 '21 06:06 yulonghua