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_aac_demuxer") { 16 deps = [ ":histreamer_plugin_AACDemuxer" ] 17} 18config("plugin_aac_demuxer_adapter_config") { 19 include_dirs = [ 20 "aac_demuxer", 21 "//foundation/multimedia/histreamer/engine/foundation", 22 "//foundation/multimedia/histreamer/engine/utils", 23 "//device/bestechnic/bes2600w/sdk_liteos/bsp/services/multimedia/audio/codec/fdkaac_codec/libAACdec/include", 24 "//device/bestechnic/bes2600w/sdk_liteos/bsp/services/multimedia/audio/codec/fdkaac_codec/libSYS/include", 25 ] 26} 27 28if (ohos_kernel_type == "liteos_m") { 29 static_library("histreamer_plugin_AACDemuxer") { 30 sources = [ "aac_demuxer_plugin.cpp" ] 31 public_configs = [ 32 ":plugin_aac_demuxer_adapter_config", 33 "//foundation/multimedia/histreamer:histreamer_presets", 34 ] 35 public_deps = [ 36 "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation", 37 "//foundation/multimedia/histreamer/engine/plugin:histreamer_plugin_intf", 38 ] 39 } 40} else { 41 shared_library("histreamer_plugin_AACDemuxer") { 42 sources = [ "aac_demuxer_plugin.cpp" ] 43 public_configs = [ 44 ":plugin_aac_demuxer_adapter_config", 45 "//foundation/multimedia/histreamer:histreamer_presets", 46 ] 47 public_deps = [ 48 "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation", 49 "//foundation/multimedia/histreamer/engine/plugin:histreamer_plugin_intf", 50 ] 51 } 52} 53