12e147c35Sopenharmony_ci# Copyright (C) 2023-2023 Huawei Device Co., Ltd. 22e147c35Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 32e147c35Sopenharmony_ci# you may not use this file except in compliance with the License. 42e147c35Sopenharmony_ci# You may obtain a copy of the License at 52e147c35Sopenharmony_ci# 62e147c35Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 72e147c35Sopenharmony_ci# 82e147c35Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 92e147c35Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 102e147c35Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 112e147c35Sopenharmony_ci# See the License for the specific language governing permissions and 122e147c35Sopenharmony_ci# limitations under the License. 132e147c35Sopenharmony_ci 142e147c35Sopenharmony_ciimport("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni") 152e147c35Sopenharmony_ci 162e147c35Sopenharmony_ciconfig("cast_client_config") { 172e147c35Sopenharmony_ci include_dirs = [ 182e147c35Sopenharmony_ci "include", 192e147c35Sopenharmony_ci "${cast_engine_interfaces}/inner_api/include", 202e147c35Sopenharmony_ci ] 212e147c35Sopenharmony_ci} 222e147c35Sopenharmony_ci 232e147c35Sopenharmony_ciohos_static_library("cast_client_inner") { 242e147c35Sopenharmony_ci sources = [ 252e147c35Sopenharmony_ci "src/cast_service_listener_impl_stub.cpp", 262e147c35Sopenharmony_ci "src/cast_session.cpp", 272e147c35Sopenharmony_ci "src/cast_session_impl_proxy.cpp", 282e147c35Sopenharmony_ci "src/cast_session_listener_impl_stub.cpp", 292e147c35Sopenharmony_ci "src/cast_session_manager.cpp", 302e147c35Sopenharmony_ci "src/cast_session_manager_adaptor.cpp", 312e147c35Sopenharmony_ci "src/cast_session_manager_service_proxy.cpp", 322e147c35Sopenharmony_ci "src/cast_engine_service_load_callback.cpp", 332e147c35Sopenharmony_ci "src/stream_player_listener_impl_stub.cpp", 342e147c35Sopenharmony_ci "src/mirror_player.cpp", 352e147c35Sopenharmony_ci "src/mirror_player_impl_proxy.cpp", 362e147c35Sopenharmony_ci "src/stream_player.cpp", 372e147c35Sopenharmony_ci "src/stream_player_impl_proxy.cpp", 382e147c35Sopenharmony_ci ] 392e147c35Sopenharmony_ci 402e147c35Sopenharmony_ci configs = [ 412e147c35Sopenharmony_ci ":cast_client_config", 422e147c35Sopenharmony_ci "${cast_engine_root}:cast_engine_default_config", 432e147c35Sopenharmony_ci ] 442e147c35Sopenharmony_ci 452e147c35Sopenharmony_ci public_configs = [ ":cast_client_config" ] 462e147c35Sopenharmony_ci 472e147c35Sopenharmony_ci deps = [ 482e147c35Sopenharmony_ci "${cast_engine_common}:cast_engine_common_sources", 492e147c35Sopenharmony_ci ] 502e147c35Sopenharmony_ci 512e147c35Sopenharmony_ci external_deps = [ 522e147c35Sopenharmony_ci "c_utils:utils", 532e147c35Sopenharmony_ci "hilog:libhilog", 542e147c35Sopenharmony_ci "ipc:ipc_core", 552e147c35Sopenharmony_ci "samgr:samgr_proxy", 562e147c35Sopenharmony_ci "graphic_surface:surface", 572e147c35Sopenharmony_ci "image_framework:image_native", 582e147c35Sopenharmony_ci ] 592e147c35Sopenharmony_ci 602e147c35Sopenharmony_ci subsystem_name = "castplus" 612e147c35Sopenharmony_ci part_name = "cast_engine" 622e147c35Sopenharmony_ci} 63