From b02d5a2b273530e118fb632770b46aa793a202d2 Mon Sep 17 00:00:00 2001 From: wengchangcheng Date: Mon, 16 Jun 2025 19:22:44 +0800 Subject: [PATCH] modify build root Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICF9E3 Signed-off-by: wengchangcheng Change-Id: Ib9362e7ca418361fcb2b0cb293b5e7b627bfefb5 --- ets_frontend_config.gni | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ets_frontend_config.gni b/ets_frontend_config.gni index 67b7c47488..0711112352 100644 --- a/ets_frontend_config.gni +++ b/ets_frontend_config.gni @@ -11,20 +11,19 @@ # See the License for the specific language governing permissions and # limitations under the License. +import("//build/ohos.gni") +import("//build/test.gni") + if (!defined(ark_standalone_build)) { ark_standalone_build = false } +build_root = "//build" +ark_third_party_root = "//third_party" + if (!ark_standalone_build) { - build_root = "//build" - ark_third_party_root = "//third_party" toolchain_ohos = "$build_root/toolchain/ohos:ohos_clang_arm64" - import("$build_root/ohos.gni") -} else { - ark_third_party_root = "//build/third_party_gn" - import("$build_root/ark.gni") } -import("$build_root/test.gni") ets_frontend_root = "//arkcompiler/ets_frontend" -- Gitee