# Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") import("//foundation/arkui/ace_engine/ace_config.gni") # build core flow sources ohos_source_set("flutter_ohos_layers") { part_name = flutter_part subsystem_name = flutter_subsystem public_configs = [ "$ace_flutter_engine_root:flutter_config" ] sources = [ "$flutter_root/engine/flutter/flow/ohos_layers/backdrop_filter_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/clip_path_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/clip_rect_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/clip_rrect_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/container_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/filter_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/layer_tree.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/layer_tree_builder.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/mask_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/opacity_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/picture_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/shader_mask_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/texture_layer.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/texture_register.cpp", "$flutter_root/engine/flutter/flow/ohos_layers/transform_layer.cpp", ] deps = [ "$ace_flutter_engine_root/skia:ace_skia_ohos" ] }