diff --git a/BUILD.gn b/BUILD.gn index 9213be740b11f1ae4b6bed7dc22c9a08ca3b7bf6..06a45d1552bda26704bde64c2654752ab322153b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -139,9 +139,11 @@ group("ark_unittest") { "//arkcompiler/ets_runtime/ecmascript/ts_types/tests:host_unittest", ] if (!run_with_asan) { - deps += [ - "//arkcompiler/ets_runtime/ecmascript/compiler/tests:host_unittest", - ] + if (!(current_os == "linux" && current_cpu == "x86")) { + deps += [ + "//arkcompiler/ets_runtime/ecmascript/compiler/tests:host_unittest", + ] + } } } } @@ -446,6 +448,9 @@ config("ark_jsruntime_common_config") { ] } else if (current_cpu == "x86") { defines += [ "PANDA_TARGET_X86" ] + if (current_os == "linux") { + defines += [ "PANDA_TARGET_32" ] + } } else if (current_cpu == "amd64" || current_cpu == "x64" || current_cpu == "x86_64") { defines += [