From 0e5c1a4b9b2572af2e824f3ae25b0b82fff10527 Mon Sep 17 00:00:00 2001 From: Vladislav Ivanishin Date: Fri, 21 Oct 2022 14:23:34 +0300 Subject: [PATCH] GN: Unify icu references for standalone and OHOS builds Change-Id: I2194b6485be599edaaba3691d123ad9e0e996156 Signed-off-by: Vladislav Ivanishin --- BUILD.gn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 2647f2f86..6c028c0d6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -17,9 +17,9 @@ import("//build/ohos.gni") config("libes2panda_public_config") { include_dirs = [ "$target_gen_dir", - "$ark_third_party_root/icu/icu4c/source/common", - "$ark_third_party_root/icu/icu4c/source/i18n", - "$ark_third_party_root/icu/icu4c/source/", + "//third_party/icu/icu4c/source/common", + "//third_party/icu/icu4c/source/i18n", + "//third_party/icu/icu4c/source/", ] } @@ -360,8 +360,8 @@ ohos_shared_library("libes2panda") { "$ark_root/assembler:libarkassembler", "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", - "$ark_third_party_root/icu/icu4c:shared_icui18n", - "$ark_third_party_root/icu/icu4c:shared_icuuc", + "//third_party/icu/icu4c:shared_icui18n", + "//third_party/icu/icu4c:shared_icuuc", ] relative_install_dir = "ark" @@ -381,8 +381,8 @@ ohos_static_library("libes2panda_frontend_static") { ":gen_es2panda_compiler_signatures_h", "$ark_root/assembler:libarkassembler_frontend_static", "$ark_root/libpandafile:libarkfile_frontend_static", - "$ark_third_party_root/icu/icu4c:static_icui18n", - "$ark_third_party_root/icu/icu4c:static_icuuc", + "//third_party/icu/icu4c:static_icui18n", + "//third_party/icu/icu4c:static_icuuc", ] } -- Gitee