1# Copyright (c) 2020-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/lite/config/component/lite_component.gni") 15import("//build/lite/ndk/ndk.gni") 16import("//foundation/ace/ace_engine_lite/ace_lite.gni") 17 18lite_library("distributed_player_lite") { 19 target_type = "static_library" 20 21 sources = [ 22 "//foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/src/audio_player.cpp", 23 "audio_module.cpp", 24 "cpp_on_play_remote.cpp", 25 ] 26 27 include_dirs = ace_lite_include_dirs 28 include_dirs += [ 29 ".", 30 "//foundation/multimedia/media_lite/interfaces/kits/player_lite", 31 "//foundation/multimedia/utils/lite/interfaces/kits", 32 ] 33 public_deps = [ 34 "//foundation/multimedia/media_lite/frameworks/player_lite", 35 "//foundation/multimedia/utils/lite:media_common", 36 "//third_party/bounds_checking_function:libsec_static", 37 ] 38} 39