mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 18:20:04 +00:00
Add a default list to enable the list to be used only on mobile phones
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9TDJJ Signed-off-by: h30044958 <herongpeng@huawei.com> Change-Id: I47e7a099ec180a3972ff509cf3587c33d6eeee66
This commit is contained in:
parent
57938acb7e
commit
0865098bcc
18
BUILD.gn
18
BUILD.gn
@ -1302,7 +1302,11 @@ ohos_shared_library("libark_jsruntime_test") {
|
|||||||
|
|
||||||
ohos_prebuilt_etc("app_aot_enable_list") {
|
ohos_prebuilt_etc("app_aot_enable_list") {
|
||||||
relative_install_dir = "ark"
|
relative_install_dir = "ark"
|
||||||
source = "$js_root/ecmascript/ohos/app_aot_enable_list.conf"
|
if (js_runtime_feature_enable_list) {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_aot_enable_list.conf"
|
||||||
|
} else {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_aot_enable_list_default.conf"
|
||||||
|
}
|
||||||
|
|
||||||
# Set the subsystem name
|
# Set the subsystem name
|
||||||
part_name = "ets_runtime"
|
part_name = "ets_runtime"
|
||||||
@ -1311,7 +1315,11 @@ ohos_prebuilt_etc("app_aot_enable_list") {
|
|||||||
|
|
||||||
ohos_prebuilt_etc("app_aot_disable_list") {
|
ohos_prebuilt_etc("app_aot_disable_list") {
|
||||||
relative_install_dir = "ark"
|
relative_install_dir = "ark"
|
||||||
source = "$js_root/ecmascript/ohos/app_aot_disable_list.conf"
|
if (js_runtime_feature_enable_list) {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_aot_disable_list.conf"
|
||||||
|
} else {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_aot_disable_list_default.conf"
|
||||||
|
}
|
||||||
|
|
||||||
# Set the subsystem name
|
# Set the subsystem name
|
||||||
part_name = "ets_runtime"
|
part_name = "ets_runtime"
|
||||||
@ -1320,7 +1328,11 @@ ohos_prebuilt_etc("app_aot_disable_list") {
|
|||||||
|
|
||||||
ohos_prebuilt_etc("app_jit_enable_list") {
|
ohos_prebuilt_etc("app_jit_enable_list") {
|
||||||
relative_install_dir = "ark"
|
relative_install_dir = "ark"
|
||||||
source = "$js_root/ecmascript/ohos/app_jit_enable_list.conf"
|
if (js_runtime_feature_enable_list) {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_jit_enable_list.conf"
|
||||||
|
} else {
|
||||||
|
source = "$js_root/ecmascript/ohos/app_jit_enable_list_default.conf"
|
||||||
|
}
|
||||||
|
|
||||||
# Set the subsystem name
|
# Set the subsystem name
|
||||||
part_name = "ets_runtime"
|
part_name = "ets_runtime"
|
||||||
|
2
ecmascript/ohos/app_aot_disable_list_default.conf
Normal file
2
ecmascript/ohos/app_aot_disable_list_default.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Apps in this configuration file can be compiled by aot compiler, disable list can be written as below:
|
||||||
|
# {bundleName}
|
2
ecmascript/ohos/app_aot_enable_list_default.conf
Normal file
2
ecmascript/ohos/app_aot_enable_list_default.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Apps in this configuration file can be compiled by aot compiler, enable list can be written as below:
|
||||||
|
# {bundleName}
|
2
ecmascript/ohos/app_jit_enable_list_default.conf
Normal file
2
ecmascript/ohos/app_jit_enable_list_default.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Apps in this configuration file can be compiled by jit compiler, enable list can be written as below:
|
||||||
|
# {bundleName}
|
@ -32,6 +32,10 @@ declare_args() {
|
|||||||
|
|
||||||
TARGET = "x86_64"
|
TARGET = "x86_64"
|
||||||
HOST_ARCH = 64
|
HOST_ARCH = 64
|
||||||
|
|
||||||
|
# If true app_aot_disable_list, app_aot_disable_list, app_jit_enable_list will be placed in /etc/ark
|
||||||
|
# Default false.
|
||||||
|
js_runtime_feature_enable_list = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target_cpu == "arm64") {
|
if (target_cpu == "arm64") {
|
||||||
|
Loading…
Reference in New Issue
Block a user