From 9cfa4c0be9451ea33d54e0173b9b4978d7ca9906 Mon Sep 17 00:00:00 2001 From: dev-harsh1998 Date: Wed, 2 May 2018 17:12:53 +0530 Subject: wayne: Convert light HAL into a HIDL service Signed-off-by: dev-harsh1998 --- light/Android.bp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 light/Android.bp (limited to 'light/Android.bp') diff --git a/light/Android.bp b/light/Android.bp new file mode 100644 index 0000000..a60fcf8 --- /dev/null +++ b/light/Android.bp @@ -0,0 +1,32 @@ +// +// Copyright (C) 2018 The Android Open Source 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 { + defaults: ["hidl_defaults"], + name: "android.hardware.light@2.0-service.xiaomi_wayne", + init_rc: ["android.hardware.light@2.0-service.xiaomi_wayne.rc"], + srcs: ["service.cpp", "Light.cpp"], + shared_libs: [ + "libhardware", + "libhidlbase", + "libhidltransport", + "liblog", + "libhwbinder", + "libutils", + "android.hardware.light@2.0", + ], + relative_install_path : "hw", + proprietary: true, +} -- cgit v1.2.3