From 10ab755b9bc2d799147f138dd6e71d4fc6f0651d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E9=99=B6=E9=87=91=E6=B2=9B=E2=80=9D?= Date: Mon, 4 Aug 2025 15:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9build.gn=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=85=B6=E9=80=A0=E6=88=90Fuzz=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “陶金沛” --- interfaces/test/unittest/BUILD.gn | 1 + interfaces/test/unittest/class_atomicfile/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/interfaces/test/unittest/BUILD.gn b/interfaces/test/unittest/BUILD.gn index 67206b996..9a3e2915e 100644 --- a/interfaces/test/unittest/BUILD.gn +++ b/interfaces/test/unittest/BUILD.gn @@ -16,6 +16,7 @@ import("//foundation/filemanagement/file_api/file_api.gni") group("file_api_unittest") { testonly = true deps = [ + "class_atomicfile:class_atomicfile_test", "class_file:class_file_test", "filemgmt_libn_test:filemgmt_libn_test", "js:ani_file_environment_test", diff --git a/interfaces/test/unittest/class_atomicfile/BUILD.gn b/interfaces/test/unittest/class_atomicfile/BUILD.gn index 2b30daf8d..66a5ab538 100644 --- a/interfaces/test/unittest/class_atomicfile/BUILD.gn +++ b/interfaces/test/unittest/class_atomicfile/BUILD.gn @@ -18,6 +18,7 @@ ohos_unittest("class_atomicfile_test") { module_out_path = "file_api/file_api" sources = [ + "${file_api_path}/interfaces/kits/js/src/common/file_helper/fd_guard.cpp", "${file_api_path}/interfaces/kits/js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp", "${file_api_path}/interfaces/test/unittest/class_atomicfile/mock/atomicfile_mock.cpp", "${file_api_path}/interfaces/test/unittest/class_atomicfile/atomicfile_mock_test.cpp", -- Gitee