• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15static_library("image_classification_sdk") {
16  sources = [
17    "source/ic_sdk.cpp",
18    "source/ic_sdk_impl.cpp",
19  ]
20  cflags = [ "-fPIC" ]
21  cflags_cc = cflags
22  include_dirs = [
23    "include",
24    "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog",
25    "//foundation/ai/engine/interfaces",
26    "//foundation/ai/engine/interfaces/kits",
27    "//foundation/ai/engine/interfaces/kits/cv/image_classification",
28    "//foundation/ai/engine/services/common/platform/os_wrapper/utils",
29    "//foundation/ai/engine/services/client/client_executor/include",
30    "//foundation/ai/engine/services/client",
31    "//foundation/ai/engine/services/common",
32    "//foundation/ai/engine/services/common/protocol/plugin_config",
33    "//foundation/ai/engine/services/common/protocol/struct_definition",
34    "//foundation/ai/engine/services/common/protocol/retcode_inner",
35    "//foundation/ai/engine/services/common/utils/constants",
36    "//foundation/ai/engine/services/common/utils/encdec/include",
37    "//foundation/ai/engine/services/common/utils",
38    "//third_party/bounds_checking_function/include",
39  ]
40  deps = [
41    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
42    "//foundation/ai/engine/services/client:ai_client",
43    "//foundation/ai/engine/services/common/platform/os_wrapper/utils:plugin_helper",
44    "//foundation/ai/engine/services/common/utils/encdec:encdec",
45  ]
46}
47