1# Copyright (c) 2022-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("box_layout_algorithm_test_ng") { 17 type = "new" 18 module_output = "layout" 19 sources = [ "box_layout_algorithm_test_ng.cpp" ] 20} 21 22ace_unittest("layout_property_test_ng") { 23 type = "new" 24 module_output = "layout" 25 sources = [ 26 "layout_property_test_ng.cpp", 27 "layout_property_test_ng_two.cpp", 28 ] 29} 30 31ace_unittest("layout_wrapper_test_ng") { 32 type = "new" 33 module_output = "layout" 34 sources = [ 35 "layout_wrapper_test_ng.cpp", 36 "layout_wrapper_testtwo_ng.cpp", 37 ] 38} 39 40ace_unittest("layout_wrapper_build_test_ng") { 41 type = "new" 42 module_output = "layout" 43 sources = [ "layout_wrapper_build_test_ng.cpp" ] 44} 45 46ace_unittest("layout_wrapper_node_test_ng") { 47 type = "new" 48 module_output = "layout" 49 sources = [ "layout_wrapper_node_test_ng.cpp" ] 50} 51 52group("core_layout_unittest") { 53 testonly = true 54 deps = [ 55 ":box_layout_algorithm_test_ng", 56 ":layout_property_test_ng", 57 ":layout_wrapper_build_test_ng", 58 ":layout_wrapper_node_test_ng", 59 ":layout_wrapper_test_ng", 60 "safe_area:safeArea_test_expandSafeArea_ng", 61 ] 62} 63