1# Copyright (c) 2021-2022 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/ohos.gni") 15import("//build/test.gni") 16import("//foundation/multimodalinput/input/multimodalinput_mini.gni") 17module_output_path = "multimodalinput/moduletest_out" 18 19ohos_moduletest("sdk-test-out") { 20 module_out_path = module_output_path 21 include_dirs = [ 22 "//foundation/multimodalinput/input/test/moduletest/include", 23 "//foundation/multimodalinput/input/service/event_dump/include", 24 ] 25 26 sources = [ "dfx_sdk_test.cpp" ] 27 28 deps = [ 29 "${mmi_path}/frameworks/proxy:libmmi-client", 30 "${mmi_path}/frameworks/util:libmmi-util", 31 "${mmi_path}/service:libmmi-server", 32 "//foundation/multimodalinput/input/patch/diff_libinput_mmi:libinput-third-mmi", 33 "//third_party/googletest:gmock_main", 34 "//third_party/googletest:gtest_main", 35 ] 36 37 external_deps = [ "hiviewdfx_hilog_native:libhilog" ] 38} 39 40group("sdk-test") { 41 testonly = true 42 deps = [ ":sdk-test-out" ] 43} 44