• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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/lite/config/component/lite_component.gni")
15
16executable("sensor_service") {
17  sources = [
18    "./src/proc.c",
19    "./src/sensor_service.c",
20    "./src/sensor_service_impl.c",
21  ]
22  ldflags = [ "-Wl,-Map=provider_proc.map" ]
23
24  include_dirs = [
25    "./include",
26    "//third_party/bounds_checking_function/include",
27    "//commonlibrary/utils_lite/include",
28    "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/registry",
29    "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr",
30    "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/communication/broadcast",
31    "//foundation/systemabilitymgr/samgr_lite/samgr/source",
32    "//foundation/communication/ipc/interfaces/innerkits/c/ipc/include",
33    "//foundation/communication/ipc/ipc/native/c/manager/include",
34    "//foundation/communication/ipc/services/dbinder/c/include",
35    "//drivers/peripheral/sensor/interfaces/include",
36    "//base/sensors/sensor_lite/frameworks/include",
37  ]
38
39  deps = [
40    "//drivers/peripheral/sensor/hal:hdi_sensor",
41    "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single",
42    "//foundation/systemabilitymgr/samgr_lite/samgr:samgr",
43  ]
44}
45