summaryrefslogtreecommitdiffstats
path: root/liblights/Android.mk
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2016-01-26 12:17:55 +0100
committerChristopher N. Hesse <raymanfx@gmail.com>2016-01-28 22:11:16 +0100
commit79a9b15147870de4a19afc449ab237eb3211cc1b (patch)
treee28e06ad85309ac6bbc45b9648b5918d1f13c9f3 /liblights/Android.mk
parent87a5957b939ad991aa5e1593307d68b9ef9bb0f9 (diff)
downloadandroid_hardware_samsung-79a9b15147870de4a19afc449ab237eb3211cc1b.tar.gz
android_hardware_samsung-79a9b15147870de4a19afc449ab237eb3211cc1b.tar.bz2
android_hardware_samsung-79a9b15147870de4a19afc449ab237eb3211cc1b.zip
Initial unified Samsung lights HAL
Originally written by Andreas Schneider for Slte. Change-Id: Iccff1e4532bc460896940451093470ece9086fb9
Diffstat (limited to 'liblights/Android.mk')
-rw-r--r--liblights/Android.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/liblights/Android.mk b/liblights/Android.mk
new file mode 100644
index 0000000..08d7e87
--- /dev/null
+++ b/liblights/Android.mk
@@ -0,0 +1,29 @@
+# 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.
+
+LOCAL_PATH:= $(call my-dir)
+
+ifneq ($(TARGET_PROVIDES_LIBLIGHT),true)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := lights.$(TARGET_BOOTLOADER_BOARD_NAME)
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_SRC_FILES := lights.c
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)
+
+endif