diff --git a/BUILD.gn b/BUILD.gn index 77628490c0b1fc39252772c63b2738eac9ec3a91..b731962e6b6c67647cf25d7f835a46c38a812e54 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -33,6 +33,11 @@ config("ace_napi_config") { defines += [ "PREVIEW" ] } + if (is_mingw) { + defines += [ "NDEBUG"] + } + + if ("${target_platform}" == "watch" || is_wearable_product) { defines += [ "DISABLE_SHORT_IDLE_CHECK" ] }