2024-02-26 06:50:33 +00:00
|
|
|
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
2021-09-04 08:04:43 +00:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-07-11 07:35:26 +00:00
|
|
|
import("//arkcompiler/runtime_core/ark_config.gni")
|
2021-09-04 08:04:43 +00:00
|
|
|
|
2022-07-16 09:41:58 +00:00
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
print("plugin $plugin is enabled")
|
|
|
|
}
|
|
|
|
|
2023-03-20 12:56:31 +00:00
|
|
|
group("arkcompiler_params") {
|
|
|
|
deps = [ "libpandafile:arkcompiler_params" ]
|
|
|
|
}
|
|
|
|
|
2023-10-24 07:38:46 +00:00
|
|
|
group("ark_device_packages") {
|
2024-05-17 08:03:12 +00:00
|
|
|
deps = [ "$ark_root/verifier:libarkverifier" ]
|
2023-10-12 07:17:16 +00:00
|
|
|
}
|
|
|
|
|
2021-09-04 08:04:43 +00:00
|
|
|
group("ark_packages") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps = []
|
2021-09-04 08:04:43 +00:00
|
|
|
if (host_os != "mac") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps += [
|
2021-09-04 08:04:43 +00:00
|
|
|
"$ark_root/libpandabase:libarkbase",
|
|
|
|
"$ark_root/libpandafile:libarkfile",
|
|
|
|
"$ark_root/libziparchive:libarkziparchive",
|
|
|
|
]
|
|
|
|
}
|
2022-07-16 09:41:58 +00:00
|
|
|
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
deps += [ "$ark_root/plugins/$plugin:ark_packages" ]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group("ark_host_linux_tools_packages") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps = []
|
2021-09-04 08:04:43 +00:00
|
|
|
if (host_os != "mac") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps += [
|
2024-02-22 07:53:07 +00:00
|
|
|
"$ark_root/abc2program:abc2prog(${host_toolchain})",
|
2021-09-04 08:04:43 +00:00
|
|
|
"$ark_root/disassembler:ark_disasm(${host_toolchain})",
|
|
|
|
"$ark_root/libpandabase:libarkbase(${host_toolchain})",
|
|
|
|
"$ark_root/libpandafile:libarkfile(${host_toolchain})",
|
|
|
|
"$ark_root/libziparchive:libarkziparchive(${host_toolchain})",
|
2023-11-11 06:29:59 +00:00
|
|
|
"$ark_root/verifier:ark_verifier(${host_toolchain})",
|
2021-09-04 08:04:43 +00:00
|
|
|
]
|
|
|
|
}
|
2022-07-16 09:41:58 +00:00
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
deps += [ "$ark_root/plugins/$plugin:ark_host_linux_tools_packages" ]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group("ark_host_windows_tools_packages") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps = []
|
2022-11-02 11:24:26 +00:00
|
|
|
if (host_os != "mac") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps += [
|
2024-02-22 07:53:07 +00:00
|
|
|
"$ark_root/abc2program:abc2prog($build_root/toolchain/mingw:mingw_x86_64)",
|
2022-10-24 15:32:04 +00:00
|
|
|
"$ark_root/disassembler:ark_disasm($build_root/toolchain/mingw:mingw_x86_64)",
|
2024-01-16 09:16:03 +00:00
|
|
|
"$ark_root/verifier:ark_verifier($build_root/toolchain/mingw:mingw_x86_64)",
|
2021-09-04 08:04:43 +00:00
|
|
|
]
|
|
|
|
}
|
2022-07-16 09:41:58 +00:00
|
|
|
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
deps += [ "$ark_root/plugins/$plugin:ark_host_windows_tools_packages" ]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group("ark_host_mac_tools_packages") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps = []
|
2021-09-04 08:04:43 +00:00
|
|
|
if (host_os == "mac") {
|
2022-07-04 07:28:23 +00:00
|
|
|
if (host_cpu == "arm64") {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps += [
|
2024-02-22 07:53:07 +00:00
|
|
|
"$ark_root/abc2program:abc2prog($build_root/toolchain/mac:clang_arm64)",
|
2022-10-24 15:32:04 +00:00
|
|
|
"$ark_root/disassembler:ark_disasm($build_root/toolchain/mac:clang_arm64)",
|
|
|
|
"$ark_root/libpandabase:libarkbase($build_root/toolchain/mac:clang_arm64)",
|
|
|
|
"$ark_root/libpandafile:libarkfile($build_root/toolchain/mac:clang_arm64)",
|
|
|
|
"$ark_root/libziparchive:libarkziparchive($build_root/toolchain/mac:clang_arm64)",
|
2024-01-16 09:16:03 +00:00
|
|
|
"$ark_root/verifier:ark_verifier($build_root/toolchain/mac:clang_arm64)",
|
2022-07-04 07:28:23 +00:00
|
|
|
]
|
|
|
|
} else {
|
2022-07-16 09:41:58 +00:00
|
|
|
deps += [
|
2024-02-22 07:53:07 +00:00
|
|
|
"$ark_root/abc2program:abc2prog($build_root/toolchain/mac:clang_x64)",
|
2022-10-24 15:32:04 +00:00
|
|
|
"$ark_root/disassembler:ark_disasm($build_root/toolchain/mac:clang_x64)",
|
|
|
|
"$ark_root/libpandabase:libarkbase($build_root/toolchain/mac:clang_x64)",
|
|
|
|
"$ark_root/libpandafile:libarkfile($build_root/toolchain/mac:clang_x64)",
|
|
|
|
"$ark_root/libziparchive:libarkziparchive($build_root/toolchain/mac:clang_x64)",
|
2024-01-16 09:16:03 +00:00
|
|
|
"$ark_root/verifier:ark_verifier($build_root/toolchain/mac:clang_x64)",
|
2022-07-04 07:28:23 +00:00
|
|
|
]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
2022-07-16 09:41:58 +00:00
|
|
|
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
deps += [ "$ark_root/plugins/$plugin:ark_host_mac_tools_packages" ]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
2024-06-16 13:21:07 +00:00
|
|
|
if (!ark_standalone_build) {
|
|
|
|
group("ark_host_ohos_tools_packages") {
|
|
|
|
deps = []
|
|
|
|
if (host_os != "mac") {
|
|
|
|
deps += [ "$ark_root/disassembler:ark_disasm($build_root/toolchain/ohos:ohos_clang_arm64)" ]
|
|
|
|
}
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
deps += [ "$ark_root/plugins/$plugin:ark_host_ohos_tools_packages" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-04 08:04:43 +00:00
|
|
|
# Common config for ark source
|
|
|
|
config("ark_config") {
|
2023-04-12 04:00:30 +00:00
|
|
|
visibility = [
|
|
|
|
"./*",
|
|
|
|
"//arkcompiler/ets_frontend/*",
|
|
|
|
]
|
2021-09-04 08:04:43 +00:00
|
|
|
|
|
|
|
include_dirs = [ "$ark_root" ]
|
2022-07-16 09:41:58 +00:00
|
|
|
defines = [ "PANDA_TARGET_MOBILE_WITH_MANAGED_LIBS=1" ]
|
2021-09-04 08:04:43 +00:00
|
|
|
|
|
|
|
if (is_linux) {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_TARGET_LINUX",
|
2022-07-16 09:41:58 +00:00
|
|
|
"PANDA_WITH_BYTECODE_OPTIMIZER",
|
|
|
|
"PANDA_WITH_COMPILER",
|
2021-09-04 08:04:43 +00:00
|
|
|
"PANDA_USE_FUTEX",
|
|
|
|
]
|
|
|
|
} else if (is_mingw) {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_WINDOWS",
|
2022-07-16 09:41:58 +00:00
|
|
|
"PANDA_WITH_BYTECODE_OPTIMIZER",
|
|
|
|
"PANDA_WITH_COMPILER",
|
2021-09-04 08:04:43 +00:00
|
|
|
"_CRTBLD",
|
|
|
|
"__LIBMSVCRT__",
|
|
|
|
]
|
|
|
|
} else if (is_mac) {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_TARGET_MACOS",
|
2022-07-16 09:41:58 +00:00
|
|
|
"PANDA_WITH_BYTECODE_OPTIMIZER",
|
|
|
|
"PANDA_WITH_COMPILER",
|
|
|
|
]
|
2022-10-13 05:14:34 +00:00
|
|
|
} else if (target_os == "ios") {
|
2022-10-12 03:09:08 +00:00
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_TARGET_IOS",
|
|
|
|
"PANDA_WITH_BYTECODE_OPTIMIZER",
|
|
|
|
"PANDA_WITH_COMPILER",
|
|
|
|
]
|
2022-07-16 09:41:58 +00:00
|
|
|
} else if (is_mob) {
|
|
|
|
defines += [
|
2024-02-26 06:50:33 +00:00
|
|
|
"PANDA_TARGET_OHOS",
|
2022-07-16 09:41:58 +00:00
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_USE_FUTEX",
|
|
|
|
"PANDA_TARGET_MOBILE",
|
|
|
|
"PANDA_TARGET_MOBILE_WITH_NATIVE_LIBS",
|
2021-09-04 08:04:43 +00:00
|
|
|
]
|
2024-02-26 06:50:33 +00:00
|
|
|
} else if (is_ohos) {
|
2024-06-16 13:21:07 +00:00
|
|
|
if (is_build_sdk) {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_OHOS",
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_WITH_BYTECODE_OPTIMIZER",
|
|
|
|
"PANDA_USE_FUTEX",
|
|
|
|
]
|
|
|
|
} else {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_OHOS",
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_USE_FUTEX",
|
|
|
|
]
|
|
|
|
}
|
2021-09-04 08:04:43 +00:00
|
|
|
} else {
|
2021-09-05 15:07:25 +00:00
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_UNIX",
|
|
|
|
"PANDA_USE_FUTEX",
|
|
|
|
]
|
2021-09-04 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
2023-11-02 09:18:01 +00:00
|
|
|
if (current_os == "android" && defined(is_arkui_x) && is_arkui_x) {
|
2023-07-04 05:06:38 +00:00
|
|
|
defines += [ "PANDA_TARGET_ARKUI_X" ]
|
|
|
|
}
|
|
|
|
|
2023-05-29 14:41:13 +00:00
|
|
|
if (enable_hilog) {
|
|
|
|
defines += [ "ENABLE_HILOG" ]
|
|
|
|
}
|
|
|
|
|
2021-09-04 08:04:43 +00:00
|
|
|
if (!is_debug) {
|
|
|
|
defines += [ "NDEBUG" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
cflags_cc = [
|
|
|
|
"-std=c++17",
|
|
|
|
"-pedantic",
|
|
|
|
"-Wall",
|
|
|
|
"-Wextra",
|
|
|
|
"-Werror",
|
|
|
|
"-fno-rtti",
|
|
|
|
"-fno-exceptions",
|
|
|
|
"-Wno-invalid-offsetof",
|
|
|
|
|
|
|
|
"-Wno-gnu-statement-expression",
|
|
|
|
"-Wno-unused-parameter",
|
|
|
|
"-Wno-unused-result",
|
2023-02-28 11:20:30 +00:00
|
|
|
"-Wno-unused-but-set-variable",
|
2021-09-04 08:04:43 +00:00
|
|
|
]
|
|
|
|
|
2024-06-26 17:09:04 +00:00
|
|
|
cflags_c = []
|
|
|
|
|
2021-09-04 08:04:43 +00:00
|
|
|
if (!is_mac && use_pbqp) {
|
|
|
|
cflags_cc += [
|
|
|
|
# PBQP regalloc
|
|
|
|
"-mllvm",
|
|
|
|
"-regalloc=pbqp",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2024-06-26 17:09:04 +00:00
|
|
|
if (is_fastverify) {
|
|
|
|
cflags_cc += [
|
|
|
|
"-O3",
|
|
|
|
"-ggdb3",
|
|
|
|
"-fno-omit-frame-pointer",
|
|
|
|
"-D_GLIBCXX_ASSERTIONS",
|
|
|
|
]
|
|
|
|
cflags_c += [
|
|
|
|
"-O3",
|
|
|
|
"-ggdb3",
|
|
|
|
"-fno-omit-frame-pointer",
|
|
|
|
"-D_GLIBCXX_ASSERTIONS",
|
|
|
|
]
|
|
|
|
} else if (is_debug) {
|
2021-09-04 08:04:43 +00:00
|
|
|
cflags_cc += [
|
|
|
|
"-Og",
|
|
|
|
"-ggdb3",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2022-07-16 09:41:58 +00:00
|
|
|
if (enable_relayout_profile) {
|
|
|
|
defines += [ "PANDA_ENABLE_RELAYOUT_PROFILE" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
configs = []
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
configs += [ "$ark_root/plugins/$plugin:ark_config" ]
|
|
|
|
}
|
|
|
|
|
2021-09-04 08:04:43 +00:00
|
|
|
if (current_cpu == "arm") {
|
2022-07-16 09:41:58 +00:00
|
|
|
cflags_cc += [
|
|
|
|
"-march=armv7-a",
|
|
|
|
"-mfloat-abi=${arm_float_abi}",
|
|
|
|
"-marm",
|
|
|
|
"-mfpu=vfp",
|
2021-09-04 08:04:43 +00:00
|
|
|
]
|
2022-07-16 09:41:58 +00:00
|
|
|
|
|
|
|
if (arm_float_abi == "soft") {
|
|
|
|
defines += [ "PANDA_TARGET_ARM32_ABI_SOFT=1" ]
|
|
|
|
} else if (arm_float_abi == "softfp") {
|
|
|
|
defines += [ "PANDA_TARGET_ARM32_ABI_SOFTFP=1" ]
|
|
|
|
} else if (arm_float_abi == "hard") {
|
|
|
|
defines += [ "PANDA_TARGET_ARM32_ABI_HARD=1" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
defines += [ "PANDA_TARGET_ARM32" ]
|
2021-09-04 08:04:43 +00:00
|
|
|
} else if (current_cpu == "arm64") {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_ARM64",
|
|
|
|
"PANDA_TARGET_64",
|
|
|
|
"PANDA_ENABLE_GLOBAL_REGISTER_VARIABLES",
|
|
|
|
"PANDA_USE_32_BIT_POINTER",
|
|
|
|
]
|
|
|
|
} else if (current_cpu == "x86") {
|
|
|
|
defines += [ "PANDA_TARGET_X86" ]
|
|
|
|
} else if (current_cpu == "amd64" || current_cpu == "x64" ||
|
|
|
|
current_cpu == "x86_64") {
|
|
|
|
defines += [
|
|
|
|
"PANDA_TARGET_64",
|
|
|
|
"PANDA_TARGET_AMD64",
|
|
|
|
"PANDA_USE_32_BIT_POINTER",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-07-16 09:41:58 +00:00
|
|
|
|
|
|
|
plugins_yamls = []
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
plugin_dir = "$ark_root/plugins/$plugin"
|
|
|
|
source_files = read_file("$plugin_dir/subproject_sources.gn", "scope")
|
|
|
|
|
|
|
|
if (defined(source_files.option_yaml_path)) {
|
|
|
|
plugins_yamls += [ "$plugin_dir/${source_files.option_yaml_path}" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
source_files = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-26 03:13:39 +00:00
|
|
|
concat_yamls("concat_plugins_yamls") {
|
|
|
|
output_file = "$target_gen_dir/plugin_options.yaml"
|
|
|
|
default_file = "$ark_root/templates/plugin_options.yaml"
|
|
|
|
add_yamls = plugins_yamls
|
2022-07-16 09:41:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
inst_templates_yamls = []
|
|
|
|
foreach(plugin, enabled_plugins) {
|
|
|
|
plugin_dir = "$ark_root/plugins/$plugin"
|
|
|
|
source_files = read_file("$plugin_dir/subproject_sources.gn", "scope")
|
|
|
|
if (defined(source_files.inst_templates_yaml_path)) {
|
|
|
|
inst_templates_yamls +=
|
|
|
|
[ "$plugin_dir/${source_files.inst_templates_yaml_path}" ]
|
|
|
|
}
|
|
|
|
source_files = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
concat_yamls("concat_inst_templates_yamls") {
|
|
|
|
output_file = "$target_gen_dir/compiler/generated/inst_templates.yaml"
|
|
|
|
default_file = "$ark_root/compiler/optimizer/ir_builder/inst_templates.yaml"
|
|
|
|
add_yamls = inst_templates_yamls
|
|
|
|
}
|
|
|
|
|
2024-02-28 01:42:17 +00:00
|
|
|
group("ark_host_defectscanaux_tools") {
|
|
|
|
deps = []
|
|
|
|
if (host_os == "linux") {
|
2024-10-21 13:52:54 +00:00
|
|
|
deps += [ ":ark_host_linux_defectscanaux_unittest" ]
|
|
|
|
if (host_cpu != "arm64") {
|
|
|
|
deps += [ ":ark_host_win_defectscanaux_unittest" ]
|
|
|
|
}
|
2024-02-28 01:42:17 +00:00
|
|
|
} else if (host_os == "mac") {
|
|
|
|
deps += [ ":ark_host_mac_defectscanaux_unittest" ]
|
2022-08-18 13:21:08 +00:00
|
|
|
}
|
2024-02-28 01:42:17 +00:00
|
|
|
}
|
2022-08-18 13:21:08 +00:00
|
|
|
|
2024-02-28 01:42:17 +00:00
|
|
|
group("ark_host_linux_defectscanaux_unittest") {
|
|
|
|
deps = []
|
|
|
|
if (host_os == "linux") {
|
|
|
|
deps += [ "$ark_root/libark_defect_scan_aux/tests/unittest:defect_scan_aux_demo(${host_toolchain})" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group("ark_host_win_defectscanaux_unittest") {
|
|
|
|
deps = []
|
|
|
|
if (host_os == "linux") {
|
|
|
|
deps += [ "$ark_root/libark_defect_scan_aux/tests/unittest:defect_scan_aux_demo($build_root/toolchain/mingw:mingw_x86_64)" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group("ark_host_mac_defectscanaux_unittest") {
|
|
|
|
deps = []
|
|
|
|
if (host_os == "mac") {
|
|
|
|
if (host_cpu == "arm64") {
|
|
|
|
deps += [ "$ark_root/libark_defect_scan_aux/tests/unittest:defect_scan_aux_demo($build_root/toolchain/mac:clang_arm64)" ]
|
|
|
|
} else {
|
|
|
|
deps += [ "$ark_root/libark_defect_scan_aux/tests/unittest:defect_scan_aux_demo($build_root/toolchain/mac:clang_x64)" ]
|
2022-10-24 15:32:04 +00:00
|
|
|
}
|
2022-08-18 13:21:08 +00:00
|
|
|
}
|
2024-02-28 01:42:17 +00:00
|
|
|
}
|
2022-11-17 03:03:10 +00:00
|
|
|
|
2024-09-30 06:38:45 +00:00
|
|
|
group("runtime_core_host_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [
|
|
|
|
"$ark_root/abc2program/tests:host_unittest",
|
|
|
|
"$ark_root/arkplatform/tests:host_unittest",
|
|
|
|
"$ark_root/assembler/tests:host_unittest",
|
|
|
|
"$ark_root/bytecode_optimizer/tests:host_unittest",
|
|
|
|
"$ark_root/compiler/tests:host_unittest",
|
|
|
|
"$ark_root/disassembler/tests:host_unittest",
|
|
|
|
"$ark_root/libark_defect_scan_aux/tests/unittest:host_unittest",
|
|
|
|
"$ark_root/libpandabase/tests:host_unittest",
|
|
|
|
"$ark_root/libpandafile/tests:host_unittest",
|
|
|
|
"$ark_root/libziparchive/tests:host_unittest",
|
|
|
|
"$ark_root/platforms/tests:host_unittest",
|
|
|
|
"$ark_root/verifier/tests:host_unittest",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2024-02-28 01:42:17 +00:00
|
|
|
if (!ark_standalone_build) {
|
2022-11-23 07:42:58 +00:00
|
|
|
group("runtime_core_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [
|
2023-11-06 08:18:01 +00:00
|
|
|
"$ark_root/arkplatform/tests:unittest",
|
2022-11-23 07:42:58 +00:00
|
|
|
"$ark_root/libpandabase/tests:unittest",
|
|
|
|
"$ark_root/libpandafile/tests:unittest",
|
|
|
|
"$ark_root/libziparchive/tests:unittest",
|
|
|
|
]
|
|
|
|
}
|
2022-11-17 03:03:10 +00:00
|
|
|
|
2024-02-01 08:56:48 +00:00
|
|
|
group("verifier_host_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [ "$ark_root/verifier/tests:host_unittest" ]
|
|
|
|
}
|
|
|
|
|
2023-03-31 03:32:50 +00:00
|
|
|
group("compiler_host_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [ "$ark_root/compiler/tests:host_unittest" ]
|
|
|
|
}
|
2023-11-06 08:18:01 +00:00
|
|
|
|
|
|
|
group("arkplatform_host_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [ "$ark_root/arkplatform/tests:host_unittest" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("arkplatform_unittest") {
|
|
|
|
testonly = true
|
|
|
|
deps = [ "$ark_root/arkplatform/tests:unittest" ]
|
|
|
|
}
|
2022-11-17 03:03:10 +00:00
|
|
|
}
|