• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2023 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    "../../../interfaces/inner_api",
28  ]
29
30  sources = [
31    "src/co_auth_proxy.cpp",
32    "src/executor_callback_stub.cpp",
33    "src/executor_messenger_proxy.cpp",
34    "src/user_auth_callback_stub.cpp",
35    "src/user_auth_proxy.cpp",
36    "src/user_idm_callback_stub.cpp",
37    "src/user_idm_proxy.cpp",
38    "src/widget_callback_stub.cpp",
39  ]
40
41  configs = [
42    "../../../common:iam_log_config",
43    "../../../common:iam_utils_config",
44  ]
45
46  public_configs = [ ":userauth_client_ipc_config" ]
47  remove_configs = [ "//build/config/compiler:no_exceptions" ]
48
49  external_deps = [
50    "c_utils:utils",
51    "hilog:libhilog",
52    "ipc:ipc_single",
53  ]
54
55  subsystem_name = "useriam"
56  part_name = "user_auth_framework"
57}
58
59ohos_source_set("userauth_service_ipc") {
60  include_dirs = [
61    "inc",
62    "common_defines",
63    "../../../interfaces/inner_api",
64  ]
65
66  sources = [
67    "src/co_auth_stub.cpp",
68    "src/executor_callback_proxy.cpp",
69    "src/executor_messenger_stub.cpp",
70    "src/user_auth_callback_proxy.cpp",
71    "src/user_auth_stub.cpp",
72    "src/user_idm_callback_proxy.cpp",
73    "src/user_idm_stub.cpp",
74    "src/widget_callback_proxy.cpp",
75  ]
76
77  configs = [
78    "../../../common:iam_log_config",
79    "../../../common:iam_utils_config",
80  ]
81
82  public_configs = [ ":userauth_client_ipc_config" ]
83  remove_configs = [ "//build/config/compiler:no_exceptions" ]
84
85  external_deps = [
86    "c_utils:utils",
87    "hilog:libhilog",
88    "ipc:ipc_single",
89  ]
90
91  subsystem_name = "useriam"
92  part_name = "user_auth_framework"
93}
94