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. 13import("//build/lite/config/component/lite_component.gni") 14 15config("feature_config") { 16 include_dirs = [ 17 "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog", 18 "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits", 19 "//foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/interfaces", 20 "//foundation/ai/ai_engine/services/common/protocol/retcode_inner", 21 "//foundation/ai/ai_engine/services/common/utils", 22 "//foundation/ai/ai_engine/services/common/utils/log", 23 "//third_party/bounds_checking_function/include", 24 ] 25} 26 27source_set("norm_processor_dep") { 28 ldflags = [ "-lstdc++" ] 29 cflags_cc = [ "-fPIC" ] 30 sources = [ 31 "source/norm_processor.cpp", 32 "source/type_converter.cpp", 33 ] 34 public_configs = [ ":feature_config" ] 35} 36 37source_set("type_converter_dep") { 38 ldflags = [ "-lstdc++" ] 39 cflags_cc = [ "-fPIC" ] 40 sources = [ "source/type_converter.cpp" ] 41 public_configs = [ ":feature_config" ] 42} 43 44source_set("slide_window_processor_dep") { 45 ldflags = [ "-lstdc++" ] 46 cflags_cc = [ "-fPIC" ] 47 sources = [ "source/slide_window_processor.cpp" ] 48 public_configs = [ ":feature_config" ] 49} 50 51group("feature_deps") { 52 deps = [ 53 ":norm_processor_dep", 54 ":slide_window_processor_dep", 55 ] 56} 57