1# Copyright (C) 2022 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("//test/xts/tools/build/suite.gni") 15 16module_output_path = "hit/ActsGraphicEffectFliterTest" 17 18############################################################################### 19 20ohos_moduletest_suite("ActsGraphicEffectFliterTest") { 21 module_out_path = module_output_path 22 subsystem_name = "graphic" 23 part_name = "graphic_2d" 24 comPath = "../../../../../foundation/graphic/graphic_2d" 25 26 sources = [ 27 "ImagePixelMapTest.cpp", 28 "NativeColorSpace.cpp", 29 "NativeDisplaySoloistTest.cpp", 30 "NativeEffectTest.cpp", 31 ] 32 33 cflags = [ 34 "-Wall", 35 "-Werror", 36 "-g3", 37 "-Dprivate=public", 38 "-Dprotected=public", 39 ] 40 41 include_dirs = [ 42 "$comPath/interfaces/inner_api/hyper_graphic_manager", 43 "$comPath/rosen/modules/composer/vsync/include", 44 "$comPath/interfaces/inner_api/common", 45 "../../../../../foundation/graphic/graphic_2d/frameworks/surface/include", 46 "../../../../../foundation/multimedia/image_framework/interfaces/innerkits/include/", 47 "../../../../../drivers/peripheral/display/interfaces/include", 48 "$comPath/rosen/modules/effect/color_picker/include", 49 "$comPath/rosen/modules/effect/effectChain/include", 50 "$comPath/rosen/modules/effect/effect_ndk/include", 51 "$comPath/rosen/modules/effect/egl/include", 52 "$comPath/interfaces/inner_api/color_manager", 53 "$comPath/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor", 54 "$comPath/rosen/modules/render_service_base/include", 55 ] 56 57 external_deps = [ 58 "access_token:libaccesstoken_sdk", 59 "access_token:libnativetoken", 60 "access_token:libtoken_setproc", 61 "graphic_2d:libgraphic_utils", 62 "graphic_surface:buffer_handle", 63 "graphic_surface:surface", 64 "graphic_surface:sync_fence", 65 "hilog:libhilog", 66 "image_framework:image", 67 "image_framework:pixelmap", 68 "ipc:ipc_core", 69 "samgr:samgr_proxy", 70 ] 71 72 deps = [ 73 "$comPath:libnative_image", 74 "$comPath/frameworks/opengl_wrapper:EGL", 75 "$comPath/frameworks/opengl_wrapper:GLESv3", 76 "$comPath/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor", 77 "$comPath/rosen/modules/composer/native_vsync:libnative_vsync", 78 "$comPath/rosen/modules/composer/vsync:libvsync", 79 "$comPath/rosen/modules/effect/color_picker:color_picker", 80 "$comPath/rosen/modules/effect/effectChain:libeffectchain", 81 "$comPath/rosen/modules/effect/effect_ndk:native_effect_ndk", 82 "$comPath/rosen/modules/effect/egl:libegl_effect", 83 "$comPath/rosen/modules/effect/skia_effectChain:skeffectchain", 84 "$comPath/rosen/modules/hyper_graphic_manager/core/native_display_soloist:libnative_display_soloist", 85 "$comPath/rosen/modules/render_service_base:librender_service_base", 86 "$comPath/rosen/modules/render_service_base:render_service_base_src", 87 "$comPath/utils/color_manager/ndk:libnative_color_space_manager", 88 "$comPath/utils/test_header:test_header", 89 "../../../../../foundation/multimedia/image_framework/interfaces/innerkits:image_native", 90 "../../../../../foundation/multimedia/image_framework/interfaces/kits/js/common:image", 91 "//third_party/googletest:gmock_main", 92 "//third_party/googletest:gtest_main", 93 ] 94} 95