2011-03-08 01:35:29 +00:00
|
|
|
# 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)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
2011-11-21 20:22:34 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils libmemalloc
|
2011-11-14 22:32:10 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
|
2011-03-05 17:30:05 +00:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
overlayLib.cpp \
|
|
|
|
overlayLibUI.cpp \
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"OverlayLib\"
|
2011-11-14 22:32:10 +00:00
|
|
|
|
2011-10-15 01:03:04 +00:00
|
|
|
ifeq ($(TARGET_USE_HDMI_AS_PRIMARY),true)
|
|
|
|
LOCAL_CFLAGS += -DHDMI_AS_PRIMARY
|
|
|
|
endif
|
2011-12-20 00:11:22 +00:00
|
|
|
ifeq ($(TARGET_USES_POST_PROCESSING),true)
|
|
|
|
LOCAL_CFLAGS += -DUSES_POST_PROCESSING
|
|
|
|
LOCAL_SHARED_LIBRARIES += libmm-abl
|
2012-02-27 20:20:00 +00:00
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/pp/inc
|
2011-12-20 00:11:22 +00:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/lib/
|
|
|
|
endif
|
2011-03-08 01:35:29 +00:00
|
|
|
LOCAL_MODULE := liboverlay
|
2011-11-29 01:52:56 +00:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2011-03-08 01:35:29 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|