summaryrefslogtreecommitdiff
path: root/liblight/Android.mk
diff options
context:
space:
mode:
authorSungmin Choi <sungmin.choi@lge.com>2012-07-02 17:00:07 -0700
committerIliyan Malchev <malchev@google.com>2012-07-02 16:57:10 -0700
commitb514889338b512bdb2550f93c5514af2f1580866 (patch)
tree6614e128f98c27caa10e85d3c6d7894936033735 /liblight/Android.mk
parentf5c98d1ca46351fab43a91bf564b3486169c3074 (diff)
downloaddisplay-b514889338b512bdb2550f93c5514af2f1580866.tar.gz
add light hal module
- initial version - control lcd backlight - control red, green, blue Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e
Diffstat (limited to 'liblight/Android.mk')
-rw-r--r--liblight/Android.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/liblight/Android.mk b/liblight/Android.mk
new file mode 100644
index 00000000..93ece2fb
--- /dev/null
+++ b/liblight/Android.mk
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 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.
+
+LOCAL_PATH:= $(call my-dir)
+# HAL module implemenation stored in
+# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.board.platform>.so
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := lights.c
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)