1# Copyright (c) 2025 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/test.gni") 15import("//foundation/graphic/graphic_2d/graphic_config.gni") 16 17ohos_unittest("frame_blur_predict_test") { 18 cflags = [ 19 "-Wall", 20 "-Werror", 21 "-g3", 22 "-Dprivate=public", 23 "-Dprotected=public", 24 ] 25 26 module_out_path = "graphic_2d/graphic_2d/rosen/modules/frame_load" 27 28 include_dirs = [ 29 "$graphic_2d_root/rosen/modules/frame_load/include", 30 "$graphic_2d_root/rosen/modules/render_service_base/include", 31 ] 32 33 sources = [ "frame_blur_predict_test.cpp" ] 34 35 deps = [ 36 "$graphic_2d_root/utils/test_header:test_header", 37 "$graphic_2d_root/rosen/modules/frame_load:frame_load", 38 "$graphic_2d_root/rosen/modules/render_service_base:librender_service_base", 39 "$graphic_2d_root/rosen/modules/render_service_base:render_service_base_src", 40 ] 41 42 external_deps = [ "hilog:libhilog" ] 43 44 part_name = "graphic_2d" 45 subsystem_name = "graphic" 46} 47 48group("unittest") { 49 testonly = true 50 51 deps = [ ":frame_blur_predict_test" ] 52} 53