1# Copyright (c) 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/ohos_var.gni") 15import("//drivers/peripheral/display/display_config.gni") 16import("../../../../../../drivers/hdf_core/adapter/uhdf2/uhdf.gni") 17import("../../../../tools/build/suite.gni") 18 19module_output_path = "hdf/ril" 20ohos_moduletest_suite("HatsHdfV1RilServiceAdditionalTest") { 21 module_out_path = module_output_path 22 23 sources = [ 24 "hdf_ril_callback_common.cpp", 25 "hdf_ril_hdiService_test_1st.cpp", 26 "hdf_ril_hdiService_test_2nd.cpp", 27 "hdf_ril_hdiService_test_3rd.cpp", 28 "hdf_ril_hdiService_test_4th.cpp", 29 "hdf_ril_hdiService_test_5th.cpp", 30 "hdf_ril_hdiService_test_6th.cpp", 31 "hdf_ril_hdiService_test_7th.cpp", 32 ] 33 defines = [ 34 "LOG_TAG = \"HdfRilHdiTest\"", 35 "LOG_DOMAIN = 0xD000F00", 36 ] 37 38 defines += display_defines 39 40 # defines += [ "TEL_TEST_PIN_PUK" ] 41 cflags = [ 42 "-Wall", 43 "-Wextra", 44 "-Werror", 45 "-fsigned-char", 46 "-fno-common", 47 "-fno-strict-aliasing", 48 ] 49 50 if (is_standard_system) { 51 external_deps = [ 52 "c_utils:utils", 53 "drivers_interface_ril:libril_proxy_1.1", 54 "drivers_interface_ril:libril_proxy_1.2", 55 "drivers_interface_ril:libril_proxy_1.3", 56 "hdf_core:libhdf_utils", 57 "hilog:libhilog", 58 "ipc:ipc_single", 59 ] 60 } else { 61 external_deps = [ "hilog:libhilog" ] 62 } 63 external_deps += [ "ipc:ipc_single" ] 64} 65