blob: fdc3882db70a61d3083e29dafd2d5cf00f96526a [file] [log] [blame]
codeworkxf1be2fe2012-03-24 17:38:29 +01001# Copyright (C) 2011 The Android Open Source Project
2# Copyright (C) 2011 The CyanogenMod Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16LOCAL_PATH:= $(call my-dir)
17# HAL module implemenation, not prelinked and stored in
18# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.board.platform>.so
19include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES := lights.c
22
23LOCAL_PRELINK_MODULE := false
24LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
25
26LOCAL_SHARED_LIBRARIES := liblog
27
sbrissen5e44bae2012-05-25 09:40:54 -040028ifeq ($(BOARD_HAS_LED_NOTIF),true)
29 LOCAL_CFLAGS += -DLED_NOTIFICATION
30endif
31
codeworkxf1be2fe2012-03-24 17:38:29 +010032LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
33
34LOCAL_MODULE_TAGS := optional
35
36include $(BUILD_SHARED_LIBRARY)
37