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 | ef4c750879e775330790c6cb831d11cd5b6e0911 (patch) | |
tree | bf7c08cd81643733c48c42dd398ff56cfa644e29 /liblight/Android.mk | |
parent | 86d9a27584c89fcd7b02ff77bbea4befd49bcbff (diff) | |
download | device_samsung_tuna-ef4c750879e775330790c6cb831d11cd5b6e0911.zip device_samsung_tuna-ef4c750879e775330790c6cb831d11cd5b6e0911.tar.gz device_samsung_tuna-ef4c750879e775330790c6cb831d11cd5b6e0911.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 |