• 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
17ohos_source_set("std_engine_factory") {
18  subsystem_name = "multimedia"
19  part_name = "histreamer"
20  if (!hst_is_lite_sys) {
21    include_dirs = [
22      "//foundation/multimedia/histreamer/engine",
23      "//foundation/multimedia/player_framework/services/services/engine_intf",
24      "//base/startup/init/interfaces/innerkits/include/syspara",
25    ]
26    public_deps = [ "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation" ]
27    public_configs = [ "//foundation/multimedia/histreamer:histreamer_presets" ]
28    sources = [ "standard/hst_engine_factory.cpp" ]
29    deps = [ "player:histreamer_player" ]
30    external_deps = [
31      "graphic_2d:surface",
32      "init:libbegetutil",
33    ]
34    if (histreamer_enable_recorder) {
35      deps += [ "recorder:histreamer_recorder" ]
36    }
37    defines = []
38    defines += player_framework_defines
39  }
40}
41
42ohos_source_set("scene_common") {
43  subsystem_name = "multimedia"
44  part_name = "histreamer"
45  include_dirs = [
46    "//foundation/multimedia/histreamer/engine",
47    "//foundation/multimedia/histreamer/engine/include",
48  ]
49  public_deps = [
50    "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation",
51    "//foundation/multimedia/histreamer/engine/pipeline:histreamer_base",
52  ]
53  sources = [
54    "common/data_stream.cpp",
55    "common/data_stream_impl.cpp",
56    "common/media_stat_stub.cpp",
57  ]
58  public_configs = [ "//foundation/multimedia/histreamer:histreamer_presets" ]
59}
60