# Copyright (c) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/test.gni") import("//foundation/arkui/ace_engine/ace_config.gni") if (is_standard_system) { module_output_path = "ace_engine/interfaces" } else { module_output_path = "ace_engine_full/interfaces" } ohos_unittest("viewport_config_test") { module_out_path = module_output_path sources = [ "viewport_config_test.cpp" ] configs = [ "$ace_root:ace_config" ] configs += [ "$ace_root:ace_test_coverage_config" ] } ohos_unittest("ui_content_test") { module_out_path = module_output_path include_dirs = [ "//commonlibrary/c_utils/base/include" ] sources = [ "$ace_root/interfaces/inner_api/ace/ui_content.cpp", "ui_content_test.cpp", ] configs = [ "$ace_root:ace_config" ] configs += [ "$ace_root:ace_test_coverage_config" ] }