1# Copyright (c) 2021-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# 14 15group("plugin_minimp4_demuxer") { 16 deps = [ ":histreamer_plugin_Minimp4Demuxer" ] 17} 18config("plugin_minimp4_demuxer_adapter_config") { 19 include_dirs = [ 20 "minimp4_demuxer", 21 "//foundation/multimedia/media_foundation/engine/include", 22 "//third_party/minimp4", 23 ] 24} 25 26if (hst_is_mini_sys) { 27 static_library("histreamer_plugin_Minimp4Demuxer") { 28 sources = [ "minimp4_demuxer_plugin.cpp" ] 29 public_configs = [ 30 ":plugin_minimp4_demuxer_adapter_config", 31 "//foundation/multimedia/media_foundation:histreamer_presets", 32 ] 33 public_deps = [ 34 "//foundation/multimedia/media_foundation/engine/foundation:histreamer_foundation", 35 "//foundation/multimedia/media_foundation/engine/plugin:histreamer_plugin_base", 36 ] 37 } 38} else { 39 shared_library("histreamer_plugin_Minimp4Demuxer") { 40 sources = [ "minimp4_demuxer_plugin.cpp" ] 41 public_configs = [ 42 ":plugin_minimp4_demuxer_adapter_config", 43 "//foundation/multimedia/media_foundation:histreamer_presets", 44 ] 45 public_deps = [ 46 "//foundation/multimedia/media_foundation/engine/foundation:histreamer_foundation", 47 "//foundation/multimedia/media_foundation/engine/plugin:histreamer_plugin_intf", 48 ] 49 } 50} 51