• 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_mirror_config") {
16  include_dirs = [
17    "include",
18    "${cast_engine_service}/src/session/src/mirror/include",
19    "${cast_engine_service}/src/session/include",
20  ]
21}
22
23ohos_static_library("cast_session_mirror") {
24  sources = [
25    "src/mirror_player_impl.cpp",
26    "src/mirror_player_impl_stub.cpp",
27  ]
28
29  configs = [
30    ":cast_session_mirror_config",
31    "${cast_engine_root}:cast_engine_default_config",
32  ]
33
34  public_configs = [ ":cast_session_mirror_config" ]
35
36  deps = [
37    "${cast_engine_common}:cast_engine_common_sources",
38    "${cast_engine_service}/src/session/src/channel:cast_session_channel",
39    "${cast_engine_service}/src/session/src/rtsp:cast_session_rtsp",
40    "${cast_engine_service}/src/session/src/utils:cast_session_utils",
41    "${cast_engine_service}/src/session/src/stream:cast_session_stream",
42  ]
43
44  external_deps = [
45    "audio_framework:audio_capturer",
46    "audio_framework:audio_client",
47    "audio_framework:audio_renderer",
48    "av_codec:av_codec_client",
49    "c_utils:utils",
50    "graphic_2d:librender_service_client",
51    "graphic_surface:surface",
52    "window_manager:libdm",
53    "window_manager:libwm",
54    "hitrace:hitrace_meter",
55    "hilog:libhilog",
56    "ipc:ipc_core",
57    "init:libbegetutil",
58    "input:libmmi-client",
59    "ability_runtime:extension_manager",
60    "ability_base:want",
61    "bundle_framework:appexecfwk_base",
62    "bundle_framework:appexecfwk_core",
63    "safwk:system_ability_fwk",
64    "samgr:samgr_proxy",
65    "ability_runtime:app_manager",
66  ]
67
68  subsystem_name = "castplus"
69  part_name = "cast_engine"
70}
71