blob: 7cdf37beee024d90d4b2fca5e332305809bfd969 [file] [log] [blame]
josip-k49c7d972021-01-19 19:35:43 +01001//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_binary {
Tim Zimmermann25b548a2022-08-25 07:37:51 +020017 name: "android.hardware.sensors-service.samsung-multihal",
josip-k49c7d972021-01-19 19:35:43 +010018 defaults: [
19 "hidl_defaults",
20 ],
21 vendor: true,
22 relative_install_path: "hw",
23 srcs: [
Tim Zimmermann25b548a2022-08-25 07:37:51 +020024 "ConvertUtils.cpp",
25 "HalProxyAidl.cpp",
josip-k49c7d972021-01-19 19:35:43 +010026 "service.cpp",
27 ],
Tim Zimmermann25b548a2022-08-25 07:37:51 +020028 local_include_dirs: ["include"],
29 init_rc: ["android.hardware.sensors-service.samsung-multihal.rc"],
30 vintf_fragments: ["android.hardware.sensors-samsung-multihal.xml"],
josip-k49c7d972021-01-19 19:35:43 +010031 header_libs: [
32 "android.hardware.sensors@2.X-shared-utils",
33 ],
34 shared_libs: [
35 "android.hardware.sensors@2.0",
36 "android.hardware.sensors@2.0-ScopedWakelock",
37 "android.hardware.sensors@2.1",
Tim Zimmermann25b548a2022-08-25 07:37:51 +020038 "android.hardware.sensors-V1-ndk",
josip-k49c7d972021-01-19 19:35:43 +010039 "libbase",
Tim Zimmermann25b548a2022-08-25 07:37:51 +020040 "libbinder_ndk",
josip-k49c7d972021-01-19 19:35:43 +010041 "libcutils",
42 "libfmq",
43 "libhidlbase",
44 "liblog",
45 "libpower",
46 "libutils",
47 ],
48 static_libs: [
49 "android.hardware.sensors@1.0-convert",
50 "android.hardware.sensors@2.X-multihal",
Tim Zimmermann25b548a2022-08-25 07:37:51 +020051 "libaidlcommonsupport",
josip-k49c7d972021-01-19 19:35:43 +010052 ],
53}