1# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/test.gni")
15import("../../../../multimodalinput_mini.gni")
16
17module_output_path = "multimodalinput/mmi_unit_out"
18
19ohos_unittest("InputManagerAncoTest") {
20  module_out_path = module_output_path
21
22  defines = input_default_defines
23
24  sources = [ "input_manager_anco_test.cpp" ]
25
26  configs = [ "${mmi_path}:coverage_flags" ]
27
28  deps = [
29    "${mmi_path}/frameworks/proxy:libmmi-client",
30    "${mmi_path}/util:libmmi-util",
31    "//third_party/googletest:gmock_main",
32    "//third_party/googletest:gtest_main",
33  ]
34
35  external_deps = [
36    "ability_runtime:abilitykit_native",
37    "access_token:libaccesstoken_sdk",
38    "access_token:libnativetoken_shared",
39    "access_token:libtokensetproc_shared",
40    "c_utils:utils",
41    "eventhandler:libeventhandler",
42    "hilog:libhilog",
43    "image_framework:image_native",
44    "ipc:ipc_single",
45    "window_manager:libwm",
46    "window_manager:libwsutils",
47  ]
48}
49