1# Copyright (c) 2021 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/ohos.gni") 15import("//foundation/arkui/ace_engine/ace_config.gni") 16 17# build core flow sources 18ohos_source_set("flutter_ohos_layers") { 19 part_name = flutter_part 20 subsystem_name = flutter_subsystem 21 public_configs = [ "$ace_flutter_engine_root:flutter_config" ] 22 23 sources = [ 24 "$flutter_root/engine/flutter/flow/ohos_layers/backdrop_filter_layer.cpp", 25 "$flutter_root/engine/flutter/flow/ohos_layers/clip_path_layer.cpp", 26 "$flutter_root/engine/flutter/flow/ohos_layers/clip_rect_layer.cpp", 27 "$flutter_root/engine/flutter/flow/ohos_layers/clip_rrect_layer.cpp", 28 "$flutter_root/engine/flutter/flow/ohos_layers/container_layer.cpp", 29 "$flutter_root/engine/flutter/flow/ohos_layers/filter_layer.cpp", 30 "$flutter_root/engine/flutter/flow/ohos_layers/layer_tree.cpp", 31 "$flutter_root/engine/flutter/flow/ohos_layers/layer_tree_builder.cpp", 32 "$flutter_root/engine/flutter/flow/ohos_layers/mask_layer.cpp", 33 "$flutter_root/engine/flutter/flow/ohos_layers/opacity_layer.cpp", 34 "$flutter_root/engine/flutter/flow/ohos_layers/picture_layer.cpp", 35 "$flutter_root/engine/flutter/flow/ohos_layers/shader_mask_layer.cpp", 36 "$flutter_root/engine/flutter/flow/ohos_layers/texture_layer.cpp", 37 "$flutter_root/engine/flutter/flow/ohos_layers/texture_register.cpp", 38 "$flutter_root/engine/flutter/flow/ohos_layers/transform_layer.cpp", 39 ] 40 41 deps = [ "$ace_flutter_engine_root/skia:ace_skia_ohos" ] 42} 43