blob: 9a6bdd8905f94390e5c62d1e9f250d96d65f9a4a [file] [log] [blame]
Jan Altensen53afa332019-07-09 22:43:47 +02001#
2# Copyright (C) 2019 The LineageOS 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
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES := \
22 Light.cpp \
23 service.cpp
24
25LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
26
27LOCAL_SHARED_LIBRARIES := \
28 libbase \
29 libbinder \
30 libhidlbase \
31 libhidltransport \
32 libutils \
33 android.hardware.light@2.0
34
35LOCAL_MODULE := android.hardware.light@2.0-service.samsung
36LOCAL_INIT_RC := android.hardware.light@2.0-service.samsung.rc
37LOCAL_MODULE_RELATIVE_PATH := hw
38LOCAL_MODULE_TAGS := optional
39LOCAL_MODULE_OWNER := samsung
40LOCAL_VENDOR_MODULE := true
41
42include $(BUILD_EXECUTABLE)