From 3cbbf5fb5556bf6e7063d5862003c25bacf1ca20 Mon Sep 17 00:00:00 2001 From: mazhao Date: Tue, 21 Nov 2023 11:04:35 +0800 Subject: [PATCH] fix build.gn different between ddb and OH Signed-off-by: mazhao --- BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 613ec6ea70f..b256211362b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -27,6 +27,10 @@ group("build_native_test") { "frameworks/libs/distributeddb/test:unittest", "frameworks/libs/distributeddb/test/moduletest:moduletest", ] + if (!defined(global_parts_info.distributeddatamgr_kv_store_lite)) { + deps += + [ "frameworks/libs/distributeddb/gaussdb_rd/test/unittest:unittest" ] + } } ############################################################################### -- Gitee