diff --git a/flutter_ace_config.gni b/flutter_ace_config.gni index 81d8edb1e25e6045d08e117be8ba064355e174b2..a1c27acdeb59d6bbf96769eefba408a6b8db1d73 100644 --- a/flutter_ace_config.gni +++ b/flutter_ace_config.gni @@ -2,8 +2,8 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//build/ohos_var.gni") import("//build/config/clang/clang.gni") +import("//build/ohos_var.gni") use_flutter_icu = true @@ -24,7 +24,6 @@ ace_wearable_defines = [ "WEARABLE_PRODUCT" ] # In the performance scenario, turn off the ACE_DEBUG macro. ace_common_defines = [ "ACE_LOG_TAG=\"Ace\"" ] - ace_ohos_defines = [ "OHOS_PLATFORM" ] # ===== For ACE PC preview. ===== @@ -42,7 +41,6 @@ use_mac = "${current_os}_${current_cpu}" == "mac_x64" # Toolchain windows_buildtool = "//build/toolchain/mingw:mingw_x86_64" -objcopy_mingw = "//prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/bin/objcopy" mac_buildtool = "//build/toolchain/mac:clang_x64" objcopy_clang = "$clang_base_path/bin/llvm-objcopy"