# Copyright (C) Texas Instruments - http://www.ti.com/ # # 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 implementation, not prelinked and stored in # hw/..so include $(CLEAR_VARS) LOCAL_PRELINK_MODULE := false LOCAL_ARM_MODE := arm LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/../vendor/lib/hw LOCAL_SHARED_LIBRARIES := liblog libEGL libcutils libutils libhardware libhardware_legacy libz \ libion_ti LOCAL_SRC_FILES := hwc.c rgz_2d.c dock_image.c sw_vsync.c LOCAL_STATIC_LIBRARIES := libpng LOCAL_MODULE_TAGS := optional LOCAL_MODULE := hwcomposer.$(TARGET_BOOTLOADER_BOARD_NAME) LOCAL_CFLAGS := -DLOG_TAG=\"ti_hwc\" LOCAL_C_INCLUDES += external/libpng external/zlib ifeq ($(TARGET_TI_HWC_HDMI_DISABLED),true) LOCAL_CFLAGS += -DHDMI_DISABLED endif LOCAL_C_INCLUDES += \ $(LOCAL_PATH)/../edid/inc \ $(LOCAL_PATH)/../include LOCAL_SHARED_LIBRARIES += libedid # LOG_NDEBUG=0 means verbose logging enabled # LOCAL_CFLAGS += -DLOG_NDEBUG=0 include $(BUILD_SHARED_LIBRARY)