1# Copyright (c) 2023 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("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni") 15 16ace_unittest("geometry_test") { 17 module_output = "basic" 18 type = "new" 19 sources = [ 20 "animatable_dimension_test.cpp", 21 "animatable_matrix4_test.cpp", 22 "dimension_test.cpp", 23 "least_square_impl_test.cpp", 24 "matrix3_test.cpp", 25 "matrix4_test.cpp", 26 "quaternion_test.cpp", 27 "subwindow_manager_test.cpp", 28 "transform_util_test.cpp", 29 ] 30} 31 32ace_unittest("util_test") { 33 module_output = "basic" 34 type = "new" 35 sources = [ 36 "base_utils_test.cpp", 37 "json_util_test.cpp", 38 ] 39} 40 41group("base_unittest") { 42 testonly = true 43 deps = [ 44 ":geometry_test", 45 ":util_test", 46 ] 47} 48 49group("linux_base_unittest") { 50 testonly = true 51 deps = [ 52 ":geometry_test", 53 ":util_test", 54 ] 55} 56