• 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_client_ipc_config") {
17  include_dirs = [
18    "inc",
19    "common_defines",
20  ]
21}
22
23ohos_source_set("userauth_client_ipc") {
24  include_dirs = [
25    "inc",
26    "common_defines",
27    "//base/useriam/user_auth_framework/interfaces/inner_api",
28  ]
29
30  sources = [
31    "src/co_auth_proxy.cpp",
32    "src/cred_info_impl.cpp",
33    "src/executor_callback_stub.cpp",
34    "src/executor_messenger_proxy.cpp",
35    "src/sec_user_info_impl.cpp",
36    "src/user_auth_callback_stub.cpp",
37    "src/user_auth_proxy.cpp",
38    "src/user_idm_callback_stub.cpp",
39    "src/user_idm_proxy.cpp",
40  ]
41
42  configs = [ "//base/useriam/user_auth_framework/common:iam_log_config" ]
43  public_configs = [ ":userauth_client_ipc_config" ]
44  remove_configs = [ "//build/config/compiler:no_exceptions" ]
45
46  deps = [ "//base/useriam/user_auth_framework/common:iam_utils" ]
47
48  external_deps = [
49    "c_utils:utils",
50    "hiviewdfx_hilog_native:libhilog",
51    "ipc:ipc_core",
52  ]
53}
54
55ohos_source_set("userauth_service_ipc") {
56  include_dirs = [
57    "inc",
58    "common_defines",
59    "//base/useriam/user_auth_framework/interfaces/inner_api",
60  ]
61
62  sources = [
63    "src/co_auth_stub.cpp",
64    "src/executor_callback_proxy.cpp",
65    "src/executor_messenger_stub.cpp",
66    "src/user_auth_callback_proxy.cpp",
67    "src/user_auth_stub.cpp",
68    "src/user_idm_callback_proxy.cpp",
69    "src/user_idm_stub.cpp",
70  ]
71
72  configs = [ "//base/useriam/user_auth_framework/common:iam_log_config" ]
73  public_configs = [ ":userauth_client_ipc_config" ]
74  remove_configs = [ "//build/config/compiler:no_exceptions" ]
75
76  deps = [ "//base/useriam/user_auth_framework/common:iam_utils" ]
77
78  external_deps = [
79    "c_utils:utils",
80    "hiviewdfx_hilog_native:libhilog",
81    "ipc:ipc_core",
82  ]
83}
84