1# Copyright (C) 2021 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/player_framework/config.gni") 16 17declare_args() { 18 multimedia_player_framework_use_codec_plugins = true 19} 20 21group("media_engine_gst_plugins") { 22 deps = [ 23 "bin/codecbin:gst_codec_bin", 24 "codec:codec_plugins", 25 "sink/audiosink:gst_audio_server_sink", 26 "sink/memsink:gst_mem_sink", 27 "sink/subtitlesink:gst_subtitle_sink", 28 "source/audiocapture:gst_audio_capture_src", 29 "source/memsource:gst_mem_src", 30 "subtitle:gst_subtitle_parse_plugin", 31 ] 32 33 if (!multimedia_player_framework_use_codec_plugins) { 34 deps -= [ "codec:codec_plugins" ] 35 } 36} 37 38group("media_engine_gst_plugins_common") { 39 deps = [ "common:gst_media_common" ] 40} 41