加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
刘瓒 提交于 2024-01-23 17:06 . surface依赖整改
# Copyright (c) 2024-2024 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("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni")
config("cast_session_config") {
include_dirs = [
"include",
"//third_party/jsoncpp/include", ]
}
ohos_static_library("cast_session") {
sources = [
"src/cast_session_impl.cpp",
"src/cast_session_impl_stub.cpp",
"src/cast_session_listener_impl_proxy.cpp",
"src/cast_session_listeners.cpp",
"src/cast_session_state.cpp",
]
configs = [
":cast_session_config",
"${cast_engine_root}:cast_engine_default_config",
]
public_configs = [
":cast_session_config",
"src/channel:cast_session_channel_config",
"src/utils:cast_session_utils_config",
"src/rtsp:cast_session_rtsp_config",
"src/mirror:cast_session_mirror_config",
"src/stream:cast_session_stream_config",
]
deps = [
"${cast_engine_common}:cast_engine_common_sources",
"${cast_engine_service}/src/device_manager:cast_discovery",
"${cast_engine_service}/src/session/src/utils:cast_session_utils",
"src/channel:cast_session_channel",
"src/mirror:cast_session_mirror",
"src/stream:cast_session_stream",
"src/rtsp:cast_session_rtsp",
"src/utils:cast_session_utils",
"//third_party/openssl:libcrypto_shared",
"//third_party/jsoncpp:jsoncpp",
]
external_deps = [
"c_utils:utils",
"hilog:libhilog",
"ipc:ipc_core",
"player_framework:media_client",
"audio_framework:audio_client",
"device_manager:devicemanagersdk",
"input:libmmi-client",
"graphic_surface:surface",
"ability_runtime:app_manager",
"image_framework:image_native",
]
subsystem_name = "castplus"
part_name = "cast_engine"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化