diff options
author | Arve Hjønnevåg <arve@android.com> | 2011-06-29 18:48:12 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-06-30 16:20:41 -0700 |
commit | 460ea5c7e53786580b1e8fb05989ac86278ba952 (patch) | |
tree | 69fbf335530a7a2bba462fc0f9da2b5e3171154c /liblight/Android.mk | |
parent | 45a8de4888205fcb8eaa187f67bc2a6c672ead98 (diff) | |
download | device_samsung_tuna-460ea5c7e53786580b1e8fb05989ac86278ba952.zip device_samsung_tuna-460ea5c7e53786580b1e8fb05989ac86278ba952.tar.gz device_samsung_tuna-460ea5c7e53786580b1e8fb05989ac86278ba952.tar.bz2 |
Add light module for backlight
Copied from crespo
Change-Id: I75956a352472b4503e85058570255fd651ac3795
Diffstat (limited to 'liblight/Android.mk')
-rwxr-xr-x | liblight/Android.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/liblight/Android.mk b/liblight/Android.mk new file mode 100755 index 0000000..9abad27 --- /dev/null +++ b/liblight/Android.mk @@ -0,0 +1,35 @@ +# 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. + +ifneq ($(filter tuna,$(TARGET_DEVICE)),) + +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.tuna + +LOCAL_MODULE_TAGS := optional + +include $(BUILD_SHARED_LIBRARY) + +endif |