1e9297d28Sopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
2e9297d28Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3e9297d28Sopenharmony_ci# you may not use this file except in compliance with the License.
4e9297d28Sopenharmony_ci# You may obtain a copy of the License at
5e9297d28Sopenharmony_ci#
6e9297d28Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7e9297d28Sopenharmony_ci#
8e9297d28Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9e9297d28Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10e9297d28Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11e9297d28Sopenharmony_ci# See the License for the specific language governing permissions and
12e9297d28Sopenharmony_ci# limitations under the License.
13e9297d28Sopenharmony_ci
14e9297d28Sopenharmony_ciimport("//build/ohos.gni")
15e9297d28Sopenharmony_ciimport("../../../../graphic_config.gni")
16e9297d28Sopenharmony_ci
17e9297d28Sopenharmony_ciconfig("window_animation_config") {
18e9297d28Sopenharmony_ci  include_dirs = [ "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include" ]
19e9297d28Sopenharmony_ci}
20e9297d28Sopenharmony_ci
21e9297d28Sopenharmony_ciohos_shared_library("window_animation") {
22e9297d28Sopenharmony_ci  sources = [
23e9297d28Sopenharmony_ci    "src/rs_window_animation_finish_callback_stub.cpp",
24e9297d28Sopenharmony_ci    "src/rs_window_animation_finished_callback.cpp",
25e9297d28Sopenharmony_ci    "src/rs_window_animation_finished_callback_proxy.cpp",
26e9297d28Sopenharmony_ci    "src/rs_window_animation_proxy.cpp",
27e9297d28Sopenharmony_ci    "src/rs_window_animation_stub.cpp",
28e9297d28Sopenharmony_ci    "src/rs_window_animation_target.cpp",
29e9297d28Sopenharmony_ci  ]
30e9297d28Sopenharmony_ci
31e9297d28Sopenharmony_ci  public_configs = [ ":window_animation_config" ]
32e9297d28Sopenharmony_ci
33e9297d28Sopenharmony_ci  cflags_cc = [ "-std=c++17" ]
34e9297d28Sopenharmony_ci
35e9297d28Sopenharmony_ci  deps = [ "$graphic_2d_root/rosen/modules/render_service_client:librender_service_client" ]
36e9297d28Sopenharmony_ci
37e9297d28Sopenharmony_ci  external_deps = [
38e9297d28Sopenharmony_ci    "c_utils:utils",
39e9297d28Sopenharmony_ci    "eventhandler:libeventhandler",
40e9297d28Sopenharmony_ci    "hilog:libhilog",
41e9297d28Sopenharmony_ci    "ipc:ipc_core",
42e9297d28Sopenharmony_ci  ]
43e9297d28Sopenharmony_ci
44e9297d28Sopenharmony_ci  part_name = "graphic_2d"
45e9297d28Sopenharmony_ci  subsystem_name = "graphic"
46e9297d28Sopenharmony_ci}
47