• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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
14import("//build/ohos.gni")
15
16config("userauth_executors_public_config") {
17  include_dirs = [
18    "include/public",
19    "//base/useriam/user_auth_framework/interfaces/inner_api",
20  ]
21}
22
23ohos_shared_library("userauth_executors") {
24  sources = [
25    "src/async_command/async_command_base.cpp",
26    "src/async_command/auth_command.cpp",
27    "src/async_command/custom_command.cpp",
28    "src/async_command/enroll_command.cpp",
29    "src/async_command/identify_command.cpp",
30    "src/driver.cpp",
31    "src/driver_manager.cpp",
32    "src/executor.cpp",
33    "src/framework/executor_mgr_wrapper.cpp",
34    "src/framework/framework_executor_callback.cpp",
35    "src/idriver_manager.cpp",
36    "src/listener/auth_executor_mgr_status_listener.cpp",
37    "src/listener/driver_manager_status_listener.cpp",
38  ]
39
40  include_dirs = [
41    "include",
42    "include/async_command",
43    "include/framework",
44    "include/listener",
45  ]
46
47  public_configs = [ ":userauth_executors_public_config" ]
48
49  remove_configs = [ "//build/config/compiler:no_exceptions" ]
50
51  deps = [
52    "//base/useriam/user_auth_framework/common:iam_utils",
53    "//base/useriam/user_auth_framework/frameworks/native/client:userauth_client",
54    "//base/useriam/user_auth_framework/frameworks/native/common:attributes",
55    "//base/useriam/user_auth_framework/frameworks/native/common:dfx",
56  ]
57
58  external_deps = [
59    "c_utils:utils",
60    "hdf_core:libhdi",
61    "hiviewdfx_hilog_native:libhilog",
62    "init:libbeget_proxy",
63    "ipc:ipc_single",
64    "samgr:samgr_proxy",
65  ]
66
67  part_name = "user_auth_framework"
68}
69