josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 1 | // |
| 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 | |
| 16 | cc_binary { |
Tim Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 17 | name: "android.hardware.sensors-service.samsung-multihal", |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 18 | defaults: [ |
| 19 | "hidl_defaults", |
| 20 | ], |
| 21 | vendor: true, |
| 22 | relative_install_path: "hw", |
| 23 | srcs: [ |
Tim Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 24 | "ConvertUtils.cpp", |
| 25 | "HalProxyAidl.cpp", |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 26 | "service.cpp", |
| 27 | ], |
Tim Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 28 | local_include_dirs: ["include"], |
| 29 | init_rc: ["android.hardware.sensors-service.samsung-multihal.rc"], |
| 30 | vintf_fragments: ["android.hardware.sensors-samsung-multihal.xml"], |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 31 | 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 Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 38 | "android.hardware.sensors-V1-ndk", |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 39 | "libbase", |
Tim Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 40 | "libbinder_ndk", |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 41 | "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 Zimmermann | 25b548a | 2022-08-25 07:37:51 +0200 | [diff] [blame] | 51 | "libaidlcommonsupport", |
josip-k | 49c7d97 | 2021-01-19 19:35:43 +0100 | [diff] [blame] | 52 | ], |
| 53 | } |