diff options
author | dev-harsh1998 <harshit.india@linaro.org> | 2018-05-02 17:12:53 +0530 |
---|---|---|
committer | Isaac Chen <isaacchen@isaacchen.cn> | 2018-07-13 00:03:17 +0000 |
commit | 9cfa4c0be9451ea33d54e0173b9b4978d7ca9906 (patch) | |
tree | a07eda51bceaeea4dfbdcbfe81f2482a2ee5d034 /light/Android.bp | |
parent | 5d5c84331b465e5c1428c68ff62dee0cad02bf41 (diff) |
wayne: Convert light HAL into a HIDL service
Signed-off-by: dev-harsh1998 <harshit.india@linaro.org>
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..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, +} |