• 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_service_base_config") {
17  include_dirs = [ "inc" ]
18}
19
20ohos_source_set("userauth_service_base") {
21  include_dirs = [ "inc" ]
22
23  remove_configs = [ "//build/config/compiler:no_exceptions" ]
24
25  sources = [
26    "src/finite_state_machine_builder.cpp",
27    "src/finite_state_machine_impl.cpp",
28    "src/hdi_wrapper.cpp",
29    "src/relative_timer.cpp",
30    "src/thread_handler_impl.cpp",
31  ]
32
33  external_deps = [
34    "c_utils:utils",
35    "drivers_interface_user_auth:libuser_auth_proxy_1.1",
36    "hilog:libhilog",
37    "init:libbegetutil",
38    "ipc:ipc_core",
39    "safwk:system_ability_fwk",
40  ]
41
42  public_configs = [ ":userauth_service_base_config" ]
43
44  configs = [
45    "../../common:iam_log_config",
46    "../../common:iam_utils_config",
47  ]
48
49  subsystem_name = "useriam"
50  part_name = "user_auth_framework"
51}
52