Skip to content

Commit

Permalink
Add lights Module
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhawat2 authored and afkcodes committed Mar 10, 2018
1 parent 5535206 commit 3de4462
Show file tree
Hide file tree
Showing 3 changed files with 965 additions and 0 deletions.
31 changes: 31 additions & 0 deletions lights/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright (C) 2015 The CyanogenMod 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.

# We currently have customized supportfor AW2013 and QPNP controllers
ifeq ($(call match-word-in-list,$(BOARD_LIGHTS_VARIANT),aw2013 qpnp),true)

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := lights-$(BOARD_LIGHTS_VARIANT).c
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils

LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_TAGS := optional

include $(BUILD_SHARED_LIBRARY)

endif
Loading

0 comments on commit 3de4462

Please sign in to comment.