fix support ffrt v1

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I066d37faec0acf59d57a4464eb368280d6cc5f4b
This commit is contained in:
wangzhaoyong 2024-05-06 22:59:11 +08:00
parent 214d626a33
commit ef09b15ee8

View File

@ -143,7 +143,7 @@ template("libark_jsruntime_common_set") {
ohos_source_set(target_name) {
if (target_name == "libark_jsruntime_arm_set" && is_ohos &&
is_standard_system && !is_arkui_x) {
is_standard_system && !is_arkui_x && target_cpu == "arm64") {
include_dirs = [
"$js_root",
"$js_root/ecmascript/napi/include",
@ -195,7 +195,7 @@ template("libark_jsruntime_common_set") {
}
if (target_name == "libark_jsruntime_arm_set" && is_ohos &&
is_standard_system && !is_arkui_x) {
is_standard_system && !is_arkui_x && target_cpu == "arm64") {
external_deps += [
"ffrt:libffrt",
"hilog:libhilog",