Support "release" compile mode for ArkUI-X

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DC3K

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Ib67d3a93996ca33e4158454bc4c071bd50b6ac32
This commit is contained in:
Zhenyu Pan 2023-06-14 14:15:02 +08:00
parent 39db5bcf42
commit 9b9f203b38

View File

@ -43,6 +43,10 @@ enable_cow_array = true
enable_coverage = false
enable_asm_assert = false
ark_compile_mode = "debug"
if (is_cross_platform_build && !is_debug && !is_profile) {
ark_compile_mode = "release"
}
asan_lib_path = "/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux"
# under /system/lib64 dir