sm8250-common: import lights aidl

from https://github.com/LineageOS/android_device_motorola_nio e3a36424d4a7de739661061c3bd6fc2c5102da50
This commit is contained in:
SGCMarkus 2022-02-17 11:26:56 +01:00
commit 371fc634d0
7 changed files with 285 additions and 0 deletions

33
lights/Android.bp Normal file
View file

@ -0,0 +1,33 @@
//
// Copyright (C) 2019-2020 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.lights-service.motokona",
relative_install_path: "hw",
init_rc: ["android.hardware.lights.motokona.rc"],
vintf_fragments: ["android.hardware.lights.motokona.xml"],
vendor: true,
shared_libs: [
"libbase",
"liblog",
"libhardware",
"libbinder_ndk",
"android.hardware.light-ndk_platform",
],
srcs: [
"Lights.cpp",
"main.cpp",
],
}