• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2023 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("//build/ohos.gni")
15import("//foundation/multimedia/av_codec/config.gni")
16
17group("av_codec_services_package") {
18  deps = [
19    "media_engine:av_codec_media_engine_package",
20    "services:av_codec_service",
21    "utils:av_codec_service_utils",
22  ]
23  if (av_codec_support_fcodec) {
24    deps += [ "engine/codec/video/fcodec:fcodec" ]
25  }
26  if (av_codec_support_avc_encoder) {
27    deps += [ "engine/codec/video/avcencoder:avc_encoder" ]
28  }
29  if (av_codec_support_hevc_decoder) {
30    deps += [ "engine/codec/video/hevcdecoder:hevc_decoder" ]
31  }
32  if (av_codec_support_hcodec) {
33    deps += [ "engine/codec/video/hcodec:hcodec_group" ]
34  }
35
36  print("av_codec_support_fcodec =", av_codec_support_fcodec)
37  print("av_codec_support_avc_encoder =", av_codec_support_avc_encoder)
38  print("av_codec_support_hevc_decoder =", av_codec_support_hevc_decoder)
39  print("av_codec_support_hcodec =", av_codec_support_hcodec)
40}
41