• 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")
15import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
16
17ohos_shared_library("libface_auth_interface_service_1.0") {
18  include_dirs = [
19    "include",
20    "//base/useriam/user_auth_framework/common/logs",
21    "//base/useriam/user_auth_framework/common/utils",
22  ]
23  sources = [
24    "src/executor_impl.cpp",
25    "src/face_auth_interface_service.cpp",
26  ]
27
28  deps = [ "//drivers/hdf_core/adapter/uhdf2/model/camera/sequenceable/buffer_producer:libbuffer_producer_sequenceable_1.0" ]
29
30  external_deps = [
31    "c_utils:utils",
32    "drivers_interface_face_auth:face_auth_idl_headers",
33    "graphic_chipsetsdk:surface",
34    "hiviewdfx_hilog_native:libhilog",
35    "ipc:ipc_single",
36  ]
37
38  install_images = [ chipset_base_dir ]
39  subsystem_name = "hdf"
40  part_name = "drivers_peripheral_face_auth"
41}
42
43ohos_shared_library("libface_auth_driver") {
44  include_dirs = [
45    "include",
46    "//base/useriam/user_auth_framework/common/logs",
47  ]
48  sources = [ "src/face_auth_interface_driver.cpp" ]
49  deps = [ "//drivers/interface/face_auth/v1_0:libface_auth_stub_1.0" ]
50
51  external_deps = [
52    "c_utils:utils",
53    "hdf_core:libhdf_host",
54    "hdf_core:libhdf_ipc_adapter",
55    "hdf_core:libhdi",
56    "hiviewdfx_hilog_native:libhilog",
57    "ipc:ipc_single",
58  ]
59
60  install_images = [ chipset_base_dir ]
61  subsystem_name = "hdf"
62  part_name = "drivers_peripheral_face_auth"
63}
64
65group("hdf_face_auth_service") {
66  deps = [
67    ":libface_auth_driver",
68    ":libface_auth_interface_service_1.0",
69  ]
70}
71