• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2022 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.
13#
14import("//foundation/multimedia/histreamer/config.gni")
15import("//foundation/multimedia/player_framework/config.gni")
16
17source_set("std_engine_factory") {
18  if (!hst_is_lite_sys) {
19    include_dirs = [
20      "//foundation/multimedia/histreamer/engine",
21      "//foundation/multimedia/player_framework/services/services/engine_intf",
22      "//base/startup/init/interfaces/innerkits/include/syspara",
23    ]
24    public_deps = [
25      "//base/startup/init/interfaces/innerkits:libbegetutil",
26      "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation",
27    ]
28    public_configs = [ "//foundation/multimedia/histreamer:histreamer_presets" ]
29    sources = [ "standard/hst_engine_factory.cpp" ]
30    deps = [
31      "player:histreamer_player",
32      "//foundation/graphic/graphic_2d/frameworks/surface:surface",
33    ]
34    if (multimedia_histreamer_enable_recorder) {
35      deps += [ "recorder:histreamer_recorder" ]
36    }
37    defines = []
38    defines += player_framework_defines
39  }
40}
41
42source_set("scene_common") {
43  include_dirs = [ "//foundation/multimedia/histreamer/engine" ]
44  public_deps = [
45    "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation",
46    "//foundation/multimedia/histreamer/engine/pipeline:histreamer_pipeline",
47  ]
48  sources = [
49    "common/data_stream.cpp",
50    "common/data_stream_impl.cpp",
51    "common/media_stat_stub.cpp",
52  ]
53  public_configs = [ "//foundation/multimedia/histreamer:histreamer_presets" ]
54}
55