diff options
author | Bruno Martins <bgcngm@gmail.com> | 2018-01-19 15:42:00 +0000 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-01-25 17:06:44 +0100 |
commit | e03f3220a3bb949ca5c11b78de3c6ce5228b0d19 (patch) | |
tree | 69e5478269bda2d50354ce8c6f821c37e5075833 /light/Android.bp | |
parent | 01a7a3c04cde89a3ba8c81d55c3d29d9309ae8b5 (diff) |
msm8996-common: Convert lights HAL into a native binderized HAL
Change-Id: If41458e22b9a67a5c2a415571723917df1904aa1
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'light/Android.bp')
-rw-r--r-- | light/Android.bp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/light/Android.bp b/light/Android.bp new file mode 100644 index 0000000..078b448 --- /dev/null +++ b/light/Android.bp @@ -0,0 +1,32 @@ +// +// Copyright (C) 2018 The LineageOS Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +cc_binary { + name: "android.hardware.light@2.0-service.zuk_8996", + relative_install_path: "hw", + init_rc: ["android.hardware.light@2.0-service.zuk_8996.rc"], + srcs: ["service.cpp", "Light.cpp"], + shared_libs: [ + "libbase", + "libcutils", + "libhardware", + "libhidlbase", + "libhidltransport", + "libhwbinder", + "libutils", + "android.hardware.light@2.0", + ], + proprietary: true, +} |