From 987e85bbaafe5c294bc5bd2caa1693a598d41a14 Mon Sep 17 00:00:00 2001 From: yang-19970325 Date: Mon, 10 Feb 2025 21:56:10 +0800 Subject: [PATCH] Cherry-pick promise detect to 5.0.3 Issue: #IBLD9F Signed-off-by: yang-19970325 --- build/third_party_gn/libuv/BUILD.gn | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build/third_party_gn/libuv/BUILD.gn b/build/third_party_gn/libuv/BUILD.gn index 5bb82bb0..1811391a 100644 --- a/build/third_party_gn/libuv/BUILD.gn +++ b/build/third_party_gn/libuv/BUILD.gn @@ -65,11 +65,6 @@ config("libuv_config") { "-D_GNU_SOURCE", "-D_POSIX_C_SOURCE=200112", ] - - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines += [ "NDEBUG" ] } else if (is_mingw || is_win) { cflags += [ "-Wno-missing-braces", @@ -85,11 +80,6 @@ config("libuv_config") { "_WIN32_WINNT=0x0600", ] - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines += [ "NDEBUG" ] - libs = [ "psapi", "user32", @@ -112,11 +102,6 @@ config("libuv_private_config") { "//third_party/libuv/src", "//third_party/libuv/src/unix", ] - - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines = [ "NDEBUG" ] } ohos_source_set("libuv_source") { -- Gitee