15bebb993Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
25bebb993Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35bebb993Sopenharmony_ci# you may not use this file except in compliance with the License.
45bebb993Sopenharmony_ci# You may obtain a copy of the License at
55bebb993Sopenharmony_ci#
65bebb993Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75bebb993Sopenharmony_ci#
85bebb993Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95bebb993Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105bebb993Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115bebb993Sopenharmony_ci# See the License for the specific language governing permissions and
125bebb993Sopenharmony_ci# limitations under the License.
135bebb993Sopenharmony_ci
145bebb993Sopenharmony_ciimport("//build/test.gni")
155bebb993Sopenharmony_ciimport("//foundation/filemanagement/file_api/file_api.gni")
165bebb993Sopenharmony_ci
175bebb993Sopenharmony_ciohos_unittest("task_signal_test") {
185bebb993Sopenharmony_ci  module_out_path = "filemanagement/file_api"
195bebb993Sopenharmony_ci
205bebb993Sopenharmony_ci  resource_config_file = "../resource/ohos_test.xml"
215bebb993Sopenharmony_ci
225bebb993Sopenharmony_ci  sources = [ "task_signal_test.cpp" ]
235bebb993Sopenharmony_ci
245bebb993Sopenharmony_ci  include_dirs = [
255bebb993Sopenharmony_ci    "include",
265bebb993Sopenharmony_ci    "${file_api_path}/interfaces/kits/native/task_signal",
275bebb993Sopenharmony_ci  ]
285bebb993Sopenharmony_ci
295bebb993Sopenharmony_ci  deps = [
305bebb993Sopenharmony_ci    "${file_api_path}/interfaces/kits/native:task_signal_native",
315bebb993Sopenharmony_ci    "${utils_path}/filemgmt_libhilog:filemgmt_libhilog",
325bebb993Sopenharmony_ci    "//third_party/googletest:gtest_main",
335bebb993Sopenharmony_ci  ]
345bebb993Sopenharmony_ci
355bebb993Sopenharmony_ci  external_deps = [
365bebb993Sopenharmony_ci    "c_utils:utils",
375bebb993Sopenharmony_ci    "hilog:libhilog",
385bebb993Sopenharmony_ci  ]
395bebb993Sopenharmony_ci}
40