• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2024-2024 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.
13import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni")
14
15config("cast_session_rtsp_config") {
16  include_dirs = [ "include" ]
17}
18
19ohos_static_library("cast_session_rtsp") {
20  sources = [
21    "src/rtsp_channel_manager.cpp",
22    "src/rtsp_controller.cpp",
23    "src/rtsp_package.cpp",
24    "src/rtsp_param_info.cpp",
25    "src/rtsp_parse.cpp",
26  ]
27
28  include_dirs = [ "src" ]
29
30  configs = [
31    ":cast_session_rtsp_config",
32    "${cast_engine_root}:cast_engine_default_config",
33  ]
34
35  public_configs = [ ":cast_session_rtsp_config" ]
36
37  deps = [
38    "${cast_engine_common}:cast_engine_common_sources",
39    "${cast_engine_service}/src/device_manager:cast_discovery",
40    "${cast_engine_service}/src/session/src/channel:cast_session_channel",
41    "${cast_engine_service}/src/session/src/utils:cast_session_utils",
42    "//third_party/openssl:libcrypto_shared",
43  ]
44
45  external_deps = [
46    "hilog:libhilog",
47    "ipc:ipc_core",
48    "device_manager:devicemanagersdk",
49  ]
50
51  subsystem_name = "castplus"
52  part_name = "cast_engine"
53}
54