Components improvement to accommodate arkui_x

Signed-off-by: ah <liangahui@h-partners.com>

消除相关部件整改目录
Signed-off-by: ah <liangahui@h-partners.com>
This commit is contained in:
ah 2024-05-15 17:34:04 +08:00
parent b5d0c45d2d
commit 815ea267c0
3 changed files with 15 additions and 3 deletions

View File

@ -100,7 +100,11 @@ ohos_static_library("abc2program_frontend_static") {
"$ark_root/libpandabase:libarkbase_frontend_static",
"$ark_root/libpandafile:libarkfile_frontend_static",
]
external_deps = [ "bounds_checking_function:libsec_static" ]
if (is_arkui_x) {
deps += [ "$ark_third_party_root/bounds_checking_function:libsec_static" ]
} else {
external_deps = [ "bounds_checking_function:libsec_static" ]
}
part_name = "runtime_core"
subsystem_name = "arkcompiler"
}

View File

@ -125,7 +125,11 @@ ohos_source_set("libarkassembler_frontend_set_static") {
"$ark_root/libpandafile:libarkfile_frontend_static",
]
external_deps = [ sdk_libc_secshared_dep ]
if (is_arkui_x) {
deps += [ "$ark_third_party_root/bounds_checking_function:libsec_static" ]
} else {
external_deps = [ sdk_libc_secshared_dep ]
}
deps += plugin_deps

View File

@ -196,7 +196,11 @@ ohos_static_library("libarkcompiler_frontend_static") {
deps = libarkcompiler_frontend_static_common_deps
external_deps = [ sdk_libc_secshared_dep ]
if (is_arkui_x) {
deps += [ "$ark_third_party_root/bounds_checking_function:libsec_static" ]
} else {
external_deps = [ sdk_libc_secshared_dep ]
}
include_dirs = [ "$ark_root/compiler/optimizer" ]