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# 14 15import("//foundation/multimedia/histreamer/config.gni") 16if (!hst_is_lite_sys) { 17 ohos_kernel_type = "" 18} 19 20group("plugin_lite_aac_decoder_adapter") { 21 if (ohos_kernel_type == "liteos_m") { 22 deps = [ ":histreamer_plugin_AACDecoder" ] 23 } 24} 25config("plugin_lite_aac_decoder_adapter_config") { 26 include_dirs = [ 27 "lite_aac_decoder", 28 "//foundation/multimedia/histreamer/engine/foundation", 29 "//foundation/multimedia/histreamer/engine/utils", 30 ] 31} 32 33static_library("histreamer_plugin_AACDecoder") { 34 sources = [ "lite_aac_decoder_plugin.cpp" ] 35 public_configs = [ 36 ":plugin_lite_aac_decoder_adapter_config", 37 "//foundation/multimedia/histreamer:histreamer_presets", 38 ] 39 public_deps = [ 40 "//foundation/multimedia/histreamer/engine/foundation:histreamer_foundation", 41 "//foundation/multimedia/histreamer/engine/plugin:histreamer_plugin_intf", 42 ] 43} 44