!8294 Features modify

Merge pull request !8294 from yangxiaoshuai2022/features_modify
This commit is contained in:
openharmony_ci 2024-07-27 21:42:42 +00:00 committed by Gitee
commit bc9adad139
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 4 additions and 3 deletions

View File

@ -1349,7 +1349,7 @@ ohos_shared_library("libark_jsruntime_test") {
ohos_prebuilt_etc("app_aot_jit_enable_list") {
relative_install_dir = "ark"
if (js_runtime_feature_enable_list) {
if (ets_runtime_feature_enable_list) {
source = "$js_root/ecmascript/ohos/app_aot_jit_enable_list.conf"
} else {
source = "$js_root/ecmascript/ohos/app_aot_jit_enable_list_default.conf"

View File

@ -16,7 +16,8 @@
"syscap": [],
"features": [
"ets_runtime_feature_enable_pgo",
"ets_runtime_feature_pgo_path"
"ets_runtime_feature_pgo_path",
"ets_runtime_feature_enable_list"
],
"adapted_system_type": [
"standard"

View File

@ -41,7 +41,7 @@ declare_args() {
# If true app_aot_jit_enable_list will be placed in /etc/ark
# Default false.
js_runtime_feature_enable_list = false
ets_runtime_feature_enable_list = false
}
if (target_cpu == "arm64") {